note 92627 deleted from install.windows by cmb
| From: | cmb@php.net | Date: | Sun, 23 Dec 2018 13:48:52 +0000 |
| Subject: | note 92627 deleted from install.windows by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209940@lists.php.net to get a copy of this message | ||
Note Submitter: Fernando O.
----
I found a way to install it properly, on IIS 7:
Note
Set IIS to allow 32-bits if you are on 64-bits
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
Set enviroment variables
PATH to, say, C:\php\
PHPRC to, that same dir
Go to Web Service Extensions: Add a new extension...
Name it for example php, and point it to the php5isapi.dll.
Set status to Allowed.
Right click Web Sites:
On the tab, ISAPI Filters, name it for example php, and point it to the php5isapi.dll
Then go to Home directory tab:
Click Configuration
On Mappings, click add:
Executable would be: php5isapi.dll
Extension to: .php
Click OK, then OK.
Then on the tab Documents click Add:
and add there what you want to load as default, say index.php
Then stop, and start IIS.
This worked for me on a Windows 2003 Server, and WinXP 64.
I hope this saves time for someone.