PHP disabled_functions
Hello,
I had another problem with php, for php 5.6 i've set some php functions in 'disabled functions' at php.ini, but those rules seems to be applied for php 7.0 too !
One client was using whmcs and contacted us because his whmcs wasn't working right, from logs i found
while site was set to use Php 7.0 and init_set isn't disabled, i was able to fix this only when i removed 'init_set' from php.ini of php 5.6 (if this can help php fpm is enabled) Can someone help about those please?! Thanks for support.
[28-Oct-2017 14:11:47 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/----/public_html/init.php on line 0while site was set to use Php 7.0 and init_set isn't disabled, i was able to fix this only when i removed 'init_set' from php.ini of php 5.6 (if this can help php fpm is enabled) Can someone help about those please?! Thanks for support.
-
Hello, Can you verify which PHP handler is utilized for PHP 5.6 and PHP 7.0? Is PHP-FPM enabled for the account? Thank you. 0 -
Hello, Can you verify which PHP handler is utilized for PHP 5.6 and PHP 7.0? Is PHP-FPM enabled for the account? Thank you.
For both FPM/FastCGI sadly i don't know where or how whmcs uses "init_set" because i tried to disable it now to see if this problem is still here because i've done 2 or 3 cPanel upgrades and php setup has changed as i have install different mods so i got no error from logs right now.. but i will see in next hours or days and i will post a detailed reply if it happen again..0 -
Hello, This is discussed on the following thread: MultiPHP INI Editor Values Not Saved for PHP-FPM Sites You can also find examples of how to make changes to the default PHP-FPM values on the following threads: MultiPHP INI Editor Values Not Saved for PHP-FPM Sites SOLVED - php-fpm config Thank you. 0
Please sign in to leave a comment.
Comments
3 comments