Wamp Server 2.4避免显示PHP 5.4通知[关闭]

I have the following setting at my php.ini located at D:\wamp\bin\apache\Apache2.4.4\bin:

error_reporting = E_ALL

I now have changed it to

error_reporting = E_ALL | E_STRICT

Then I restarted all services of Wamp.

It doesn't still show the the notices that the production server show.

At both states, in phpinfo() I can see error_reporting set to 32767.

I think there was a little bug that escaped in WampServer2.4 and that was that the php.ini file had the error_log parameter commented out.

So edit php.ini ( using the wampmanager -> PHP -> php.ini )

Look for

;error_log = "c:/wamp/logs/php_error.log"

and change it to

error_log = "c:/wamp/logs/php_error.log"

Assuming you are installed on the C: drive

Also check

log_errors = On

just to be sure.