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]

 



On 12/23/06, Shanon Swafford <listbox@xxxxxxxxxxxxxxxxxx> wrote:
Hi Guys,

I just cut my website over to Apache2 and PHP5 on FC5.

So now I'm clean up all the PHP Notices.

Does anybody know the config directives I can put in my /etc/php.ini or
etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so that I could
separate the php errors file from the apache errors file?

http://www.php.net/manual/en/ref.errorfunc.php

Specifically 'error_log'.

This will be commented out in a default php.ini file, search for it
there, enable it and restart your webserver.

Also the webserver user has to 'own' this file (as with it's other
logs), so check permissions.
--
Postgresql & php tutorials
http://www.designmagick.com/

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