Re: Re: How to Separate PHP Errors to a file different than Apache Errors

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

 



Please preserve necessary context in your replies. *At least* the
In-Reply-To: header with the correct message-id!

# fahad.pervaiz@xxxxxxxxx / 2006-12-24 11:42:45 +0500:
> First of all php errors are not logged in apache error log. PHP errors are
> logged seperately.

Notices, warnings and errors from at least mod_php get logged in the apache
error log (all with log level "error") if you don't say otherwise. 

> if you want to custom define error log file for your apache errors you can
> use virtualhost directive in apache httpd config file
> 
> If you do not specify an ErrorLog directive within a
> <VirtualHost> container, error messages relating to that virtual host will
> be logged here. If you *do* define an error logfile for a
> <VirtualHost> container, that host's errors will be logged there.

This talks about the apache error log. Again, if you don't configure PHP
otherwise (error_log in php.ini or php_value error_log in httpd.conf),
it will log there.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

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