简体   繁体   中英

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.

I have achieved this by restarting the server. Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM