I am using PHP 5.2 and I have configured it in windows server. I have updated the php.ini file to turn off errors and notices. I have tried error_reporting = E_ALL & ~E_NOTICE and display_errors = Off. But it is not reflecting while echo phpinfo() function. And sure that I am working in correct php.ini file. When i use error_reporting(0) in a php file, it is working well and doesn't show any errors and notices. Please help me to resolve this. Thanks in advance.

有帮助吗?

解决方案

I have achieved this by restarting the server. Thanks.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top