for a server that runs multiple domains, i was just wondering if it is possible to display the hostname that generates the error in php_error.log?
i've looked around but cant find it so far, it would be a very handy functionality. Many thanks in advance.
Oh and that's PHP4.3 with Apache2
show hostname in php_error.log ?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
oops, I misread your post.
Apache has internal variables set for SERVER_NAME when dealing with logs:
http://httpd.apache.org/docs/1.3/mod/mo ... ml#formats
Apache has internal variables set for SERVER_NAME when dealing with logs:
http://httpd.apache.org/docs/1.3/mod/mo ... ml#formats