First, run a php script that calls phpinfo() and make sure that the php
module in your server is running against the php.ini file you think it
is. Verify the name and path of the log file.

Second, make sure that errors are being reported, meaning check your
php.ini file for the "error_reporting" directive and make sure it says
something like "error_reporting = E_ALL & ~E_NOTICE" - make sure the
line is not commented out.

Third, check the ownership and permissions on the log file AND the
directory the log file is in and make sure that they're such that the
webserver can write to them.

Restart the webserver. Write a php script with an error in it and
request the script. 

Rinse and repeat.

..michael..



On Fri, 2002-06-21 at 11:00, Anil Garg wrote:
> ya i have tried that too..
> wot else can be the problem.
> my php.ini looks like this:

> 
> 
> > Like i said make sure the webserver has the privilege to write to the log
> > file...
> >
> >
> >
> >



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

Reply via email to