You are here: Re: [PHP] error reporting php-5.0.4-10.4 on FC4 « PHP « IT news, forums, messages
Re: [PHP] error reporting php-5.0.4-10.4 on FC4

Posted by Jasper Bryant-Greene on 10/24/05 01:45

On Sun, 2005-10-23 at 17:31 -0400, Bob Hartung wrote:
> Hi all,
> Slowly I'm progressing.
> Now how to turn error reporting on for a test apache server.
>
> I have made the following changes to /etc/php.ini:
>
> error_reporting = E_ALL
> display_errors = On
> error_log = /var/log/php_errors
>
> On errors I still have no in browser display nor is anything written
> to the log file.

Make a file containing just the following line and view it in your
browser:

<?php phpinfo(); ?>

See if the path to php.ini shown in that file is /etc/php.ini. If it
isn't, then you're editing the wrong php.ini.

Also, make sure you're not overriding those values in a .htaccess file
or in a script.

What kind of errors are happening that aren't being displayed? For
example in an output buffering handler, an error could just cause your
script to output nothing.

--
Jasper Bryant-Greene
General Manager
Album Limited

e: jasper@album.co.nz
w: http://www.album.co.nz/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

 

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

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