hanj Veteran
Joined: 19 Aug 2003 Posts: 1490
|
Posted: Mon Oct 01, 2012 1:21 pm Post subject: Issues with php-5.4.6 and error_reporting |
|
|
Hello All
On my 64bit servers, I upgraded php to 5.4.6. The upgrade went without a hitch, but I'm running across a problem with heavy error logs when I've explicitly set error handling to not include those types of errors. It almost seems like a bug?
I'm getting buckets of these STRICT errors (this is just and example, I have other sites reporting similar strict errors - not this exact error):
Code: | [Sun Sep 30 20:40:24 2012] [error] [client xxx.xxx.xxx.xxx] PHP Strict Standards: Non-static method PEAR::setErrorHandling() should not be called statically in /var/www/comp.com/htdocs/lib/Max.php on line 222, referer: http://comp.com/www/admin/index.php |
The problem is that I have the following set in php
/etc/php/apache2-php5.4/php.ini
Code: | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT |
If I set apache to use 5.3, this problem goes away.
Here are my USE flags for PHP:
Code: | [ebuild R ] dev-lang/php-5.4.6 USE="apache2 bzip2 cli crypt ctype curl exif fileinfo filter ftp gd hash iconv imap intl json mhash mysql mysqli nls pdo phar posix readline session simplexml snmp soap sockets ssl tokenizer truetype unicode xml xmlrpc zip zlib -bcmath -berkdb -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -gdbm -gmp -inifile -iodbc -ipv6 -kerberos (-kolab) -ldap -ldap-sasl -libedit -mssql -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -spell -sqlite3 (-sybase-ct) -sysvipc -threads -tidy -wddx -xmlreader -xmlwriter -xpm -xsl" 10,774 kB |
Any ideas?
Thanks!
hanji _________________ Server Admin Blog - Uno-Code.com |
|