↑ Return to Administration

Print this Page


How to Configure PHP on Server 2003

1) Download PHP at http://www.php.net/downloads.php. Make sure you dowload the “zip package”, the installer package won’t work. And extract the zip folder at C:PHP


3) Open the ‘php.ini’ file and find the line extension_dir = “./” and change it to extension_dir = “C:PHPext”. This tells PHP where the various extensions are located

4) Add C:PHP to your path. From the Start menu, right click My Computer and select Properties. From the Advanced tab click the Environment Variables button. Under System Variable find Path and click Edit. At the end of what is already present in Variable Value add a semicolon (;) and then C:PHP.OR Copy al dll in system32

5) Configure IIS:.- Web Service Extension. Click down to the Web Service Extension folder. Right click the folder and select Add New Web Service Extension. Set Extension Name to .PHP and add C:PHPPHP5ISAPI.DLL to Required Files. Check Set Extension Status To Allowed. And also Go to the Documents tab and add test.php

6) Click website property, From the Home Directory tab click the Configuration button. Click Add to add an Application Extension. Enter C:PHPPHP5ISAPI.DLL as Executable and PHP as Extension.

7) To test your PHP installation simply create text a file with the php extension, eg. test.php.

Note If you’re going to use MySQL 4.1.5 or later, add the line, “extension=php_mysqli.dll” to the ini file, right after “extension=php_mysql.dll”. [HKEY_LOCAL_MACHINESOFTWAREPHP]


Permanent link to this article: http://www.techxpress.in/iis-6-0-2/administration/php-on-iis/

Leave a Reply

Bookmark this page