PHP-FPM User .yaml Customisations Lost When Changing PHP Version
I've successfully removed 'ini_set' from disable_functions for one user on my server by editing their .user.php-fpm.yaml file in the approved way (I believe). It now contains (including the initial 3 dashes):
---
_is_present: 1
php_admin_value_disable_functions:
name: php_admin_value[disable_functions]
value: show_source,system,shell_exec,passthru,exec,popen,proc_open,phpinfo
pm_max_children: 5
pm_max_requests: 20
pm_process_idle_timeout: 10
And the user's website works fine, on PHP 7.0 (which also has the same value set for disable_functions in WHM Multi PHP Ini Editor).
I'd like to move them up to PHP 7.2 so in WHM Multi PHP Manager I make the change, and then wait the required 30 seconds or so while the site gives 503 errors during the transition (unsure why this is but it seems to do this every time).
The site then displays a ton of WARNING ini_set is disabled etc etc (it's Drupal and very verbose).
PHP 7.2 in WHM Multi PHP Ini editor _does_ have ini_set disabled in it.
Why is the user's YAML not overriding the WHM set values for PHP 7.2?
TY!
Please sign in to leave a comment.
Comments
0 comments