I have achieved this by restarting the server. Thanks.
Unable to turn off notices in php.ini
-
29-06-2023 - |
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow