Enable Windows PHP Logging to a File
When installing PHP under Windows, the default option is to not log errors. These are available to view from the console but obviously coded web pages will not display these. The solution is to enable logging in the php.ini file. To do that, edit php.ini and locate the line:
;error_log = filenameFirst uncomment this line by removing the semicolon. Then replace filename with the absolute path to the error file (ie- C:\logs\php-errors.log). Enclose the path in quotes when you have any spaces in the name. Restart web services for the change to take effect.