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

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 أمر restart للسيرفر
تحميل امتداد من مجلد باستخدام wget
ايفاف swap - تشغيل swap على اللينكس
حل مشكلة mysql error 1364 Field doesn't have a default values
تنصيب csf فايرول السيرفر
 

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

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

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

cpanel Configurations Values of PHP-FPM

الساعة الآن 07:18 PM