You are here: Re: Want to display errors, server admin disagrees « PHP Programming Language « IT news, forums, messages
Re: Want to display errors, server admin disagrees

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация