iis 6.0 and php
| From: | Ali YUKSEL | Date: | Sun, 27 Oct 2002 16:30:41 +0000 |
| Subject: | iis 6.0 and php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16579@lists.php.net to get a copy of this message | ||
i found instructions from the group but i couldnt make php work under iis
6.0.
if someone knows please reply!
instructions that dont work:
Here is a description on how to install PHP under Windows .Net Server ( IIS
6.0 )
I answered to a post in the windows newsgroup, but the right place of this
should be \
here. If there is someone responsible for the file install.txt of the
installation, \
feel free to adpat this text and add it to the installation procedure
section.
First of all the installer doesn't work because an ActiveX object used to
configure \
IIS is not present or not available when you try to install PHP.
- So download the zip file instead.
- rename/modify/copy php.ini to your C:/WINDOWS directory.
- copy the file php4ts.dll to C:/WINDOWS/SYSTEM32 ( required, I don't know
why, it is \
supposed to be used only if you use extension...but even without extensions
it \
doesn't work without it )
IIS 6.0 disable by default all the ISAPI extensions:
- go to the IIS management console panel
- You have 4 subsections, FTP sites, Application Pools, Web Sites and Web
Service \
Extensions - Go to Web Service Extensions
- For the first try, Allow "All Unknown ISAPI extension" then you will be
able to \
create an entry for the PHP and juste allowing it, I didn't try it yet. - go
now in \
Web Sites, and do the classic extension mapping at the top level of your web
sites \
heirarchy - in Home Directory, click on Configuration, and now add the
[your \
path]/php4isapi.dll file with the extension .php - in Home Directory, allow
Script \
and Executable or only Scripts