Change default pool values
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
[QUOTE]
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
3. Save - exit and rebuild: /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
3. Save - exit and rebuild: /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
-
Hi @Michaelit I think the following documentation might be useful on how to make these modifications: PHP-FPM User Pools - Version 68 Documentation - cPanel Documentation The php_fpm_config Script - Version 68 Documentation - cPanel Documentation PHP-FPM Code and FileSystem Layout for EasyApache 4 - Version 68 Documentation - cPanel Documentation 0 -
Thank you @cPanelLauren, The issue has finally been fixed. I had followed all the documentations you've quoted me. What happened? It took 13 minutes to create the corresponding .cache file so i had to wait for a while! Now everything has been set as i wished! Thank you! 0 -
Hi @Michaelit Oh, I'm glad to hear that! Please let us know if you have any further questions or concerns! Thanks! 0
Please sign in to leave a comment.
Comments
3 comments