|
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]
|