In /opt/alt/php55/etc/php.ini, I have the following:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
In /etc/cl.selector/php.conf has:
Directive = error_reporting
Default = E_ALL & ~E_NOTICE
Range = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL,E_ALL & ~E_NOTICE & ~E_DEPRECATED
Type = list
Comment = The error reporting level.
The server is using 5.4 as Native.
As a user, in cPanel, if I go into "Sel ect PHP Version" and choose PHP 5.5, then Switch to Settings, this shows up:
error_reporting E_CORE_WARNING
My questions are:
1) Where is E_CORE_WARNING coming fr om?
2) Why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?
As a test, I edited /opt/alt/php55/etc/php.ini, to change error_reporting to:
error_reporting = E_ALL
Now, in cPanel PHP Selector, when I change to PHP 5.5 and view Settings, it now shows:
error_reporting E_ALL
This removed the problem with E_CORE_WARNING, but still... why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?
Thanks!
- Scott
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
In /etc/cl.selector/php.conf has:
Directive = error_reporting
Default = E_ALL & ~E_NOTICE
Range = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL,E_ALL & ~E_NOTICE & ~E_DEPRECATED
Type = list
Comment = The error reporting level.
The server is using 5.4 as Native.
As a user, in cPanel, if I go into "Sel ect PHP Version" and choose PHP 5.5, then Switch to Settings, this shows up:
error_reporting E_CORE_WARNING
My questions are:
1) Where is E_CORE_WARNING coming fr om?
2) Why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?
As a test, I edited /opt/alt/php55/etc/php.ini, to change error_reporting to:
error_reporting = E_ALL
Now, in cPanel PHP Selector, when I change to PHP 5.5 and view Settings, it now shows:
error_reporting E_ALL
This removed the problem with E_CORE_WARNING, but still... why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?
Thanks!
- Scott
Comment