1 Login as root
2 vi /usr/local/lib/php.ini (or wherever your php.ini file is located)
3 find the error_reporting setting by typing /error_reporting (note arrow down to the error_reporting line that does NOT start with a semicolon!!!!)
4) to disable, insert a semicolon in front of the error_reporting line to comment out.
5) restart apache with /usr/local/apache2/bin/apachectl restart
To reenable php error reporting, remove the semicolon.
No comments:
Post a Comment