|
Posted by Rik Wasmus on 09/15/07 13:06
On Sat, 15 Sep 2007 14:26:04 +0200, Siv Hansen <siv.hansen@gmail.com>
wrote:
> I'm currently working with a server with error reporting level 0,
> which is good if this was purely a production server. It's not. I have
> fourty students trying to learn php programming on this server and
> displaying errors will be a good thing in a learning situation.
>
> Is there any way to override the error reporing level set by the
> server admin? I do not have access to php.ini and server admin will
> never agree upon changing error reporting level for the server.
>
> I tried error_reporting(E_ALL) and ini_set('display_errors', 1)
> without success.
That should work. If it's a shared server, and most of the time
error_reporting should be off, save for a few domains, I'd use Apaches
httpd.conf to alter the settings for the specific domains using php_flag &
php_value.
--
Rik Wasmus
Navigation:
[Reply to this message]
|