Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 17th, 2006, 12:15 PM
newsbandit
Guest
 
Posts: n/a
Default PHP error logs for multiple sites on IIS

Hello All, is there a way to specify a php error log for each
individual site on an IIS 6 server? If so how, when I turn on logging
in the php.ini file it seems to be global and all sites dump to one
file. Thank for any help!

  #2  
Old October 17th, 2006, 06:15 PM
Daz
Guest
 
Posts: n/a
Default Re: PHP error logs for multiple sites on IIS


newsbandit wrote:
Quote:
Hello All, is there a way to specify a php error log for each
individual site on an IIS 6 server? If so how, when I turn on logging
in the php.ini file it seems to be global and all sites dump to one
file. Thank for any help!
I'm not sure if what you're trying to do is entirely possible, as the
log is for PHP errors and not PHP errors with particular
websites/domains. If you look through the php.ini file, track_errors
allows you to store the last error message in a global variable called
$php_errormsg. It would be possible to add this into your scripts,
although it might not be entirely feasible for you to do so. The only
other thing I can think of, would be to add some kind of call back
function to either PHP or apache. I think it's possible to do so with
both, although I am not entirely sure.

Sorry I can't be of more help.

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles