: How to set site specific Error Log files in PHP under IIS On Apache, vhosts can be configured with their own error log file, like so: ErrorLog "my-site-log-dir/error_log.log" How would this
On Apache, vhosts can be configured with their own error log file, like so:
ErrorLog "my-site-log-dir/error_log.log"
How would this be done when hosting PHP under IIS?
More posts by @Karen161
1 Comments
Sorted by latest first Latest Oldest Best
SOURCE
To report errors in the Event viewer, go to your php.ini and make sure
logging is on.
log_errors = On
then enable error_log to write to syslog (with is the Event Viewer on
Windows machines)
error_log = syslog
www.iis-aid.com/articles/how_to_guides/logging_php_to_windows_event_log
If using 'shared' hosting windows hosting then you most likely have a control panel that should have some kind of logging, otherwise see method above.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.