Hello, I am setting up a script, where I need to set the display_errors to On in my php.ini file However I hv another application on the same server which wants me to set the display_errors value to Off. Is there a way I can have this working? I have tried to create a copy of php.ini in the root directory of the application and make the changes in that php.ini but that is not working.
You can also set it at run time. ini_set('display_errors', 0); See: http://php.net/manual/en/function.ini-set.php http://www.php.net/manual/en/ini.list.php http://www.php.net/manual/en/configuration.changes.modes.php