Setting up PHP to work on Windows Server 2003
Operating System : - Windows Server 2003
PHP version used in this test : php-5.2.8-Win32 Manual Installation
You have unzipped PHP (http://www.php.net) to C:\PHP and also You are using default (unmodified) ACLs/Permissions.
Administrative tools in the Control Panel by clicking Start -> Administrative Tools -> IIS Manager
"Web Service Extensions" -> "Add a new Web service extension" - > Provide extension name "PHP" in and for the required files put "C:\PHP\php.exe"
set it to allowed
Now on the corresponding website add the .php extension to the file "C:\PHP\php5isapi.dll" and allow it.
PHP sample Test page: In the website create a php test page Test.php and write a code in it:
phpinfo();
?>
Save the file and browse it to confirm php is working fine.
PHP version used in this test : php-5.2.8-Win32 Automatic Installation using FastCGI Module option
You have installed PHP (http://www.php.net) to C:\PHP and also You are using default (unmodified) ACLs/Permissions.
It will automatically create a Website Application Extension : -
.php - "C:\php\php-cgi.exe" , Verbs (All) , Script engine Checked
Also it will automatically create a WEb Service Extension : -
PHP - C:\PHP\php-cgi.exe with status Allowed
PHP version used in this test : php-5.2.8-Win32 Automatic Installation using IIS ISAPI Module
You have installed PHP (http://www.php.net) to C:\PHP and also You are using default (unmodified) ACLs/Permissions.
This installation will automatically create Web Service extension : -
PHP (C:\PHP\php5isapi.dll) with status Allowed.
And a Website Application extension : -
.php - C:\PHP\php5isapi.dll , Verbs (All) , Script engine Checked
****AS IS**** ; Please apply at your own risk.
No comments:
Post a Comment