Hello,
i would like to change the default values for all PHP-FPM users on the system and i follow the next steps:
1. touch /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
2. vi
/usr/local/cpanel/scripts/php_fpm_config --rebuild
I restart the service PHP FPM for apache... and nothing changed.
- I have changed these PHP values from MultiPHP ini editor as well without any success.
Please advice me what i have missed.
cPanel v. 70.
P.S: I haven't edited a user's pool in WHM's MultiPHP Manager interface (WHM >> Home >> Software >> MultiPHP Manager).
Thank you in advance
i would like to change the default values for all PHP-FPM users on the system and i follow the next steps:
1. touch /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
2. vi
3. Save - exit and rebuild:php_admin_flag_allow_url_fopen: off
php_admin_value_short_open_tag: off
php_value_error_reporting: E_ALL & ~E_STRICT & ~E_WARNING & ~E_NOTICE
php_admin_value_disable_functions: exec,passthru,eval,shell_exec,system,proc_open,popen,curl_multi_exec,ftp_exec,apache_setenv,set_time_limit,posix_getpwuid,posix_getgrgid,posix_kill,disk_free_space,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority
/usr/local/cpanel/scripts/php_fpm_config --rebuild
I restart the service PHP FPM for apache... and nothing changed.
- I have changed these PHP values from MultiPHP ini editor as well without any success.
Please advice me what i have missed.
cPanel v. 70.
P.S: I haven't edited a user's pool in WHM's MultiPHP Manager interface (WHM >> Home >> Software >> MultiPHP Manager).
Thank you in advance