note 108890 added to install.windows.iis7

From: Date: Fri, 01 Jun 2012 15:19:40 +0000
Subject: note 108890 added to install.windows.iis7
Groups: php.notes 
Request: Send a blank email to php-notes+get-188359@lists.php.net to get a copy of this message
When installing PHP in Windows 2008 Server R2, you might find that Windows IIS 7 returns error code 500 when executing scripts. To resolve this do two things: 1) browse to the folder that contains the script with the error using CMD. Yes, this is the command prompt. Then execute the script using something like: "C:\Program Files\PHP\PHP5.4\php.exe" [script-filename].php Note that the quotes ("") are needed for file paths with spaces. This will return the results of the script and any errors you might have. 2) To have IIS 7 return the errors to your webbrowser, turn off error logging and turn on display errors. And to make sure that all the errors are display, set error reporting to ALL. log_errors = Off display_errors = On error_reporting = E_ALL ---- Server IP: 64.71.164.2 Probable Submitter: 98.234.149.191 ---- Manual Page -- http://www.php.net/manual/en/install.windows.iis7.php Edit -- https://master.php.net/note/edit/108890 Del: integrated -- https://master.php.net/note/delete/108890/integrated Del: useless -- https://master.php.net/note/delete/108890/useless Del: bad code -- https://master.php.net/note/delete/108890/bad+code Del: spam -- https://master.php.net/note/delete/108890/spam Del: non-english -- https://master.php.net/note/delete/108890/non-english Del: in docs -- https://master.php.net/note/delete/108890/in+docs Del: other reasons-- https://master.php.net/note/delete/108890 Reject -- https://master.php.net/note/reject/108890 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188359) next »