PHP: Hypertext Preprocessor


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.


Step 1: Install PHP

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.

Step 2: Check OmniHTTPd MIME types

In the Global properties, check the MIME list that these associations are present:

Virtual Actual
wwwserver/stdcgi .php

Step 3: Enable external script processing

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.

Step 4: Disable Preserve PATH_INFO

Make sure that Preserve PATH_INFO is unchecked. This feature must be turned off for PHP to work properly.

Step 5: Check the entries in the External tab

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
Copyright 2000 Omnicron Technologies Corporation