note 78144 deleted from install.windows by cmb
| From: | cmb@php.net | Date: | Sun, 31 Mar 2019 08:57:32 +0000 |
| Subject: | note 78144 deleted from install.windows by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210503@lists.php.net to get a copy of this message | ||
Note Submitter: Uday Kari
----
First I got a HTTP 405 error, resolving which I got an HTTP 404 error...read on for how this was
fixed...
Environment: PHP 5.2.4, IIS 6.0 ISAPI, Windows Server 2003.
Installation: Simply downloaded the PHP 5.2.4 installer [22,002Kb] - 30 August 2007 and ran it
doing next, next until Finish.
To get rid of 405 error, ensure that your php directory allows scripts. Start->Control
Panel->Administrative Tools->Internet Information Services-> (select website, navigate to
directory with your php and right-click your directory) -> Properties -> Directory TAB ->
Change Execute Permissions from "None" to "Scripts" (to allow PHP).
To get rid of 404 error, ensure that your executable mapping for the .php extension is properly
coded. Start->Control Panel->Administrative Tools->Internet Information Services->
(select web site) ->Properties->Home Directory->Configuration->Mapping and then change
the Executable Path for .php files from C:\Program~\PHP\php5is~1.DLL (or whatever crazy path) to
"C:\Program Files\PHP\php5isapi.dll"
(IMPORTANT: the quotes from c:\ to end of dll are important since the default install location,
Program Files, has a space...in my youth I would yell "Stupid Microsoft"...but now I would
more maturely just note that there is an inconsistency with the way that Paths are defined...in
definingenvironment variables, for instance, such spaces are OK...).