Thread:Project:Support desk/Error running the update script/reply (7)

Adding that code won't help if the error is happening in the mw-config directory, since it doesn't load LocalSettings.php.

You should set up them on php.ini. If you can't edit that file, you might try to change them in .htacess.

Even when error reporting is disabled, those fatal errors are usually logged in the apache error_log. Check your cpanel for any sort of "error logs" to see if you get a descriptive error there.