PHP is an open source, server-side, cross-platform, HTML embedded scripting language. PHP is a good alternative to ASP because native support is not limited to servers running IIS on Windows NT. The PHP libraries provide good support for tasks like SQL and LDAP operations.
The default server settings assume that you are installing PHP to C:\PHP. You may wish to do this to make things a little easier. Make sure you follow the PHP instructions carefully as they require certain files to be copied into your Windows directories. Test PHP at the command line to confirm that the installation is working correctly.
In the Global properties, check the MIME list that these associations are present:
Virtual | Actual |
wwwserver/stdcgi | .php |
External script processing should be enabled by default. You can check this setting in the Advanced section of the Global Server Properties. Make sure that Enable External Script Support is checked.
Make sure that Preserve PATH_INFO is unchecked. This feature must be turned off for PHP to work properly.
Go into the External tab and check the following association. You will have to change it to the appropriate directory if you installed the PHP files in another directory:
Virtual | Actual |
.php | C:\PHP\PHP.EXE |