العودة   منتدى نيو حب > منتديات الحاسب والاتصالات > تطوير المواقع > منتدى السيرفرات

cpanel Configurations Values of PHP-FPM

منتدى السيرفرات


08-08-2018, 05:07 PM
admin
 
cpanel Configurations Values of PHP-FPM

cpanel Configurations Values of PHP-FPM

i need Configurations Values of PHP-FPM

after enable PHP-FPM for site
default disable function active i need edit default disable
i read this thread
https://documentation.cpanel.net/dis...aconfiguration

put i cant found file: /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml on my server


answer

Hello,

Thank you for the details provided. I've reviewed your request and have identified the following.

The system_pool_defaults file needed to be manually created. I've since done that for you as a courtesy, following that, knowing you want to modify the default disable functions, I added the directive for that function to the config. Now the contents of that file is as follows.

------
# cat /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
---
php_admin_value_disable_functions : exec,passthru,shell_exec,system
------

You can now edit that file and remove whatever functions you don't wish to be disabled at this time. Once that has been done, you'll then need to rebuild the configs and restart the FPM service. The commands to do that would be as follows.

------
# /scripts/php_fpm_config --rebuild
# /scripts/restartsrv_apache_php_fpm
------
من مواضيع : admin معرفة اصدار نظام السيرفر centos 5
طريقة ايقاف موقع على السيرفر عن طريق الشل
PHP 5.3 max_input_vars زياده محدوديه get && post
مشكله فى Suhosin / Hardened PHP
CentOS packages don't update from node v5.12.0 to 8
 

أدوات الموضوع

الانتقال السريع

المواضيع المتشابهه
whm -cpanel what is new 11.73.9980.0
سرفرات مجانية
مشكله php 5.2 suhosin
مشكلة السيرفر لا يشغل ملفات الـ php بعد الترقية لـ php5 و apache2
htaccess بكل بساطة !

cpanel Configurations Values of PHP-FPM

الساعة الآن 04:01 AM