note 53646 added to install.windows
| From: | FerozZahid at osu1 dot php dot net | Date: | Wed, 08 Jun 2005 08:41:34 +0000 |
| Subject: | note 53646 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90102@lists.php.net to get a copy of this message | ||
In order to run php scripts with php.exe CGI instead of php4isapi.dll under IIS, following steps can
be followed.
i) Add a web service extension for PHP using IIS manager. Choose a web service extension name like
'PHP' and add your php.exe path in the 'file location' while adding the required
file e.g. 'C:\php\php.exe' in the Add extension dialog box. Don't forget to
'Allow' the extension file.
ii) Open php.ini file located at %systemroot%. Set the following variables to the shown values.
cgi.force_redirect = 0
cgi.redirect_status_env = ENV_VAR_NAME
iii) In your websites, add Application Mapping for '.php' and set the executable path to
your php.exe file path.
You can test whether PHP is running or not and other PHP settings using the following simple PHP
script.
<?php>
phpinfo();
?>
Feroz Zahid
ferozzahid [_at_] usa [_dot_] [_com_]
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53646
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53646&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53646&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53646&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53646&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53646&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53646&report=yes
Search -- http://master.php.net/manage/user-notes.php