Posted by:
CyberSpatium
(---.hsd1.or.comcast.net)
There is no reason to use this mod.
PHP comes with the default setting of most errors messages not being displayed. This is for security reasons, because when you are running a production server, displaying those error messages could expose information about your server and/or php script.
Also, since most people who use php scripts are on a shared hosting environment, and do not have access to editing the php.ini file, there are built in php error reporting functions we can use to set what kind of error reporting we which to use while developing or using your scripts.
When I am developing scripts, I put this code at the top of my php scripts:
error_reporting(E_ALL);This turns on all error reporting, and all errors will be displayed. This makes it 100 time easier to develop my scripts, knowing all the errors being made.
When you are done testing your scripts, you just delete one line of code, instead of having to go through all this.
Error Reporting - PHP Manual[
us3.php.net]