PHP Deprecated
更に
tail -f /var/log/httpd/error_log
にてエラーを追っかけていたら・・・
[Tue Nov 03 15:33:40 2009] [error] [client 116.81.12.164] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/html/wp-content/plugins/ktai_entry/Mail_mimeDecode.php on line 324, referer: http://www.hf164.com/2009/11/03/130929/?utm_source=rss&utm_medium=rss&utm_campaign=130929 [Tue Nov 03 15:33:40 2009] [error] [client 116.81.12.164] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/html/wp-content/plugins/ktai_entry/PEAR.php on line 569, referer: http://www.hf164.com/2009/11/03/130929/?utm_source=rss&utm_medium=rss&utm_campaign=130929 [Tue Nov 03 15:33:40 2009] [error] [client 116.81.12.164] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/html/wp-content/plugins/ktai_entry/PEAR.php on line 572, referer: http://www.hf164.com/2009/11/03/130929/?utm_source=rss&utm_medium=rss&utm_campaign=130929
と出てきた。
調べてみたら・・・
PHP 5.3.x で推奨されない機能
にて・・・
「ereg()」関数で引っかかっているようです・・・
vi /etc/php.ini
にて
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
と書き足しました。
ちなみにE_DEPRECATEDというエラー定数がPHP5.3から出来たらしいです。
E_DEPRECATED(integer) 実行時の注意。これを有効にすると、 将来のバージョンで動作しなくなるコードについての警告を受け取ることができる。
との事です。
必要なライブラリーも入れ替えております。。。



コメントはまだありません。