Sambar Server Documentation

ISAPI Applications


PHP 4
PHP from www.php.net is a server side scripting package that has an ISAPI interface as of the 4.0 release. After downloading and installing the PHP 4 ISAPI package, the following ISAPI direct execute mapping should be added to the config/mappings.ini:

[isapi]
*.php = d:\php\php4isapi.dll

Note: The above assumes that PHP4 was installed in D:\php. In addition, the php.ini configuration file needs to be placed in the system directory (i.e. c:\winnt\php.ini). PHP comes with a php.ini-recommended file that you can use for your php.ini file. The following configuration parameters should be changed:

After restarting the Sambar Server, you can test your PHP installation by creating a file phpinfo.php with the following content:

<? phpinfo(); ?>

© 1998-2002 Sambar Technologies. All Rights reserved. Terms of use.