note 63569 added to install.windows.iis

From: Date: Fri, 24 Mar 2006 01:07:56 +0000
Subject: note 63569 added to install.windows.iis
Groups: php.notes 
Request: Send a blank email to php-notes+get-106507@lists.php.net to get a copy of this message
I have fixed the 404 with this message found at google groups: ----------------------------------------------------------- I could not get PHP pages to display in IIS 6 with Windows 2003, using the default install of the stable binaries from php.net. Here is the solution I found. The default install registers the .php extension as belonging to c:\php\php.exe. This is correct, but it's faster to use the ISAPI extension. To do this, 1. Open the IIS Management console 2. Expand the server, right click on "Web Sites" and click Properties 3. Open the "ISAPI Filters" foldertab 4. Click Add 5. Enter PHP in the Filter Name box. 6. Click Browse and then Browse to your php4isapi.dll. 6. Click ok -> Apply -> ok ... Once this is completed, your PHP scripts still won't run. The problem is that you have to define and enable PHP as a "Web Service Extension". To do this, 1. Open the IIS Management console 2. Expand the server, and expand the "Web Services Extensions" 3. Click "Add a new Web services Extension" 4. Enter PHP in the Extension Name box. 5. In the required files box, Browse to your php directory and add php4isapi.dll. 6. Click ok -> Apply -> ok Last but not least, You may or may not need to do the following, -Set the extensions path in the php.ini file if you are going to use any extensions , i.e. php_mssql.dll -I had to copy the php4isapi.dll from c:\php\isapi to c:\php, YMMV -Give the webserver user (IUSR_MACHINENAME in most cases) read and execute access to php4isapi.dll and php4ts.dll Good Luck, Ejay Hire EjayH...@hotmail.com ---------------------------------------------------------- ---- Server IP: 216.194.113.175 Probable Submitter: 200.125.44.28 ---- X-Spam-Status: Yes, hits=5.3 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, NEW_DOMAIN_EXTENSIONS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/install.windows.iis.php Edit -- http://master.php.net/note/edit/63569 Del: integrated -- http://master.php.net/note/delete/63569/integrated Del: useless -- http://master.php.net/note/delete/63569/useless Del: bad code -- http://master.php.net/note/delete/63569/bad+code Del: spam -- http://master.php.net/note/delete/63569/spam Del: non-english -- http://master.php.net/note/delete/63569/non-english Del: in docs -- http://master.php.net/note/delete/63569/in+docs Del: other reasons-- http://master.php.net/note/delete/63569 Reject -- http://master.php.net/note/reject/63569 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106507) next »