getting a 500 browser error using php iis7 windows server 2008

do not just tell me 'event viewer'

how can I see what caused the 500 error

could this be a database error because my database is getting larger

since I have access to the server (windows server 2008)
answer must be server side


please do not give me a client side answer about firefox or ie browser
LVL 1
rgb192Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
cdfsConnect With a Mentor Commented:
I searched a little bit, as I'm not really a IIS-friend. See http://www.iis.net/ConfigReference/system.applicationHost/sites/siteDefaults/logFile for how to configure logging in IIS. As far as I understood the default logfile-location should be in inetpub\logs\.
0
 
cdfsCommented:
500 is a server-error. The exact cause can't be told with the information you provided. You have to check your log-files. My best bet would be some programming-error in php, maybe trying accessing some database-data that is not there.
0
 
Kent DyerIT Security Analyst SeniorCommented:
Remember Windows 3.1?  Unidentified Application Error?  That's nice, but doesn't tell you much, just like the 500 error.  You know there is a problem, whether it is server, web, database, etc.  You are going to have to start peeling the layers of the onion and start troubleshooting..  Has the section of your code worked previously?  Are you sending in some odd character code?  Do you have one of the odd character codes in your database?  Noticed you stated in your keywords: IIS, PHP..  Does that mean you are using the Apache Re-director from IIS?  There is another level of complexity here..

I know what I wrote kind of goes here and there, but should give you some direction to look at.

HTH,

Kent
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
ingriTCommented:
And regarding "do not just tell me 'event viewer'", have you checked your event viewer?

And you could try turning of your HTTP friendly error messages, sometimes you get a better error in your browser that could give you a clue.
0
 
perezjosCommented:
IIS7 will only send detailed errors to localhost clients by default. you may try to run the page on the server or to change this behavior, you would need to change system.webServer/httpErrors/errorMode property from default DetailedLocalOnly to Detailed. you may found it in \windows\system32\inetsrv\config\schema\IIS_Schema.xml.
0
 
rgb192Author Commented:
where is the error log
0
 
cdfsCommented:
For IIS it should be in the event viewer. I don't know if php has his own error-log on windows.
0
 
rgb192Author Commented:
where in event viewer
0
 
rgb192Author Commented:
I click on event viewer, where do I click next
0
 
rgb192Author Commented:
I googled other iis logging methods and this answer lead me in the correct direction to find error
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.