WHM - php.ini in public_html stops default php.ini
I have a server with WHM panel. OS is CentOS. When I put a `php.ini` in public_html PHP stops reading `/usr/local/lib/php.ini`.
When I compare results of phpinfo() what I see is;
> error_log error_log error_log
becames
> error_log no value no value
How can PHP read master php.ini directives unless I add a directive in local php.ini.
PS: COPPYING MASTER php.ini CONTENT TO LOCAL php.ini IS NOT AN OPTION.
-
Hello :) I'm not sure I fully understand the nature of the issue you have described. Are you able to configure a specific php.ini file for an account using the suPHP_ConfigPath entry to see if that helps address the issue? This thread may help: Methods to Increase Security on suPHP - Restricting who can use php.ini files Thank you. 0
Please sign in to leave a comment.
Comments
1 comment