Vinod Kumar
Vinod Kumar

Reputation: 1489

Unable to turn off notices in php.ini

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.

Upvotes: 0

Views: 1032

Answers (1)

Vinod Kumar
Vinod Kumar

Reputation: 1489

I have achieved this by restarting the server. Thanks.

Upvotes: 1

Related Questions