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]

 



First of all php errors are not logged in apache error log. PHP errors are
logged seperately.

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.

If you want to change the default log file for php error then use
"error_log" directive to define the path. "error_log" is located in php.inifile.

--
Fahad Pervaiz
www.ecommerce-xperts.com

[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