Question

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.

Was it helpful?

Solution

I have achieved this by restarting the server. Thanks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top