If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > How can I see detailed PHP errors (500) on IIS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-10, 05:02
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
How can I see detailed PHP errors (500) on IIS

Hello,
I am new to PHP (coming from ASP), I have installed PHP on my local machine for testing purposes but i see detailed server errors, all I get is the IIS custom page or a non detailed message.

Here is what I have and have done:

-Windows vista with IIS 7, have turned on CGI and instal PHP 5.3
-I have renamed php.ini-development to php.ini (and made a copy)
-Checked that the variable display_errors is set to On
-Went to the site on IIS, went to the error pages and set the error responses to detailed error. Restarted IIS

i have done pretty much any thing i have found on forums but no luck.

Would anyone know what to do at this stage?
Reply With Quote
  #2 (permalink)  
Old 02-08-10, 05:26
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 8,768
you may also need to set the error_reporting level
PHP: Runtime Configuration - Manual

also have a tral through this google search
Google
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 02-09-10, 05:04
oliflorence oliflorence is offline
Registered User
 
Join Date: Aug 2004
Posts: 96
Quote:
you may also need to set the error_reporting level
PHP: Runtime Configuration - Manual

also have a tral through this google search
Google
After spending some more time on the various info there i still could not get it to work.
So i pend more time looking at the phpinfo to notice the problem.
I had created a folder C:\php where i unzipped the files and used the windows install to install PHP. i used all default settings and the instal was actually done in c:\program files\php so the php.ini i was modifying was not actually the one influencing the actual script. I uninstalled and reinstalled in the proper folder and it is now working. Left me feeling a little dumb of course, but at least it is working now!!

Thanks for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On