After upgrading from RHEL 5x to CentOS 6x, I started seeing these errors in my httpd log:
PHP Strict Standards: Non-static method PEAR::isError() sh
No there isn't. PEAR::isError
is legacy from PHP 4 times.
If changing the error level in php.ini
is not enough you should check
If all that doesn't help, set an appropriate level using the error_level()
function at runtime, or if nothing else helps, suppress the errors using the @
operator. Using @
should be avoided as it is relatively "slow" (error reporting is slow anyways ...) and it might hide other errors.
Long-term suggestion would be to use more modern libraries.