I running PHP 5.4.5 on an IIS 7.5 Server (under Win7 64) and i have problems making PHP errors visible. At the moment whenever i have a PHP error the server sends back a 500 error with the message "The page cannot be displayed because an internal server error has occurred."

I use phpmanager to configure php. The php Ini is correct with errorlogging E_ALL and display_errors enabled (error is writen to log also). I already set the errorMode to Detailed from DetailedLocalOnly and removed all errorpages as well. But it is stil the same Error 500... PS: I read already all posting on serverfault and stackoverflow.

  • you can submit an answer to your question and mark it as answered. this will help others that come here looking for an answer – Drew Khoury Aug 10 '13 at 8:19

Take a look here: How can I display and log PHP errors on IIS7? . You will need to edit http configuration so it allows displaying of errors to remote users.

| improve this answer | |
  • thx, I read this post and tried it already. But it doesn't help. – ozz May 12 '13 at 9:19

An error 500 is an internal server error, not an error with PHP. It indicates something wrong with your Web Server, maybe an IIS mis-configuration. Check your Web Server logs for the specific issue.

| improve this answer | |
  • the errorlog (php) says 'PHP Fatal error: Call to a member function FetchRow() on a non-object in D:\inetpub\htdocs\tematres\common\include\fun.sql.php on line 2885' and ISS say at the same time 'GET /tematres/vocab/index.php - 80 - Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:20.0)+Gecko/20100101+Firefox/20.0 500 0 0 442' – ozz May 12 '13 at 5:02
  • explained here: [link]geekmungus.co.uk/microsoft-windows/… – ozz May 12 '13 at 6:26

i'm developer of Tematres, may be this thread can help you: http://sourceforge.net/p/tematres/discussion/592732/thread/e2ed8799/?limit=50#d22e

| improve this answer | |
  • Welcome to Server Fault! Welcome to Server Fault! We really do prefer that answers have content, not pointers to content. This may theoretically answer the question however, it would be preferable to include the essential parts of the answer here, and provide the link for reference. This post will be removed if not improved. Thank you! – Chris S May 22 '13 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.