Skip to content

Troubleshooting PHP errors

David Ebbo edited this page Jul 1, 2015 · 4 revisions

If your PHP site is failing with some http 500 errors, try enabling logging. To do this:

  • Use Kudu Console and go into D:\home\site\wwwroot
  • In your .user.ini file, add the following line (create the file if it doesn't exist, and don't forget the starting dot on the .user.ini file!):
log_errors = On

Then make a few failing requests to get some logging going. Now, from Kudu Console, go to D:\home\LogFiles and open up (or download) php_errors.log.

At the end, you'll find the most recent entries, which may give clues as to what's going on.

Clone this wiki locally