Re: error reporting php-5.0.4-10.4 on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux