Re: PHP log 2 Apache log
| From: | Greg Donald | Date: | Mon, 29 Nov 2004 21:08:31 +0000 |
| Subject: | Re: PHP log 2 Apache log | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203087@lists.php.net to get a copy of this message | ||
On Mon, 29 Nov 2004 21:35:00 +0100, David Zejda <dvid@atlas.cz> wrote:
> Hi!
> Is there any way to order the PHP (mod_php) to log everything to
> ErrorLog defined by Apache in VirtualHost section? In php.ini I see only
> the possibility to specify the concrete global logfile or syslog, but a
> such setup doesn't fit to virtual host scenario...
>
> Thanks for your advice and excuse me, If i missed something trivial.
You can override much of the php.ini with ini_set().
http://www.php.net/manual/en/ref.errorfunc.php#ini.error-log
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/