Re: [PHP] PHP log 2 Apache log

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 21:35:00 +0100, David Zejda <[EMAIL PROTECTED]> 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/

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



[PHP] PHP log 2 Apache log

2004-11-29 Thread David Zejda
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.
With regards
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php