Upgrading to a new server has brought a lot of PHP errors. My site has a lot of different includes, so instead of tracking down and adding error_reporting (E_ALL ^ E_NOTICE); Is there a better way I can remove these errors?
Upgrading to a new server has brought a lot of PHP errors. My site
Share
Edit your
php.inifile and set:If you’re using Apache, you can also set it in
httpd.confor a.htaccessfile:The numbers are looked up from: http://php.net/errorfunc.constants