Misiek

Well-Known Member
Feb 23, 2004
116
0
166
cPanel Access Level
Root Administrator
Dear All,
I tried today to append php-fpm configuration correct to tutorial :
Tutorial - Managing php.ini directives with PHP-FPM

I created file as in example,
Code:
php_admin_value_error_reporting: { name: 'php_admin_value[error_reporting]', value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED }
php_admin_value_disable_functions: { name: 'php_admin_value[disable_functions]', value: show_source, system, shell_exec, passthru, exec, popen, proc_open }
php_admin_value_enable_dl: { name: 'php_admin_value[enable_dl]', value: off }
reload config of fpm, restarted fpm, restarted apache, then looked into client config :

disable_functions show_source show_source

The client have fpm enabled, so the code above should ovveride everything ? Please explain cause this is very very confusing.
I cannot edit ini cause this doesnt work with fpm, true ?

Version 76.0.10, cloudlinux 7.5, cagefs enabled.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @Misiek

To cut down on potential waiting time can you please open a ticket using the link in my signature? I'd like for us to be able to look over the configuration as it shouldn't indicate show_source in disabled_functions twice. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!