Sambar Server Documentation

ISAPI Applications


PHP 4 & PHP 5
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]
# for PHP 4
*.php = d:\php\php4isapi.dll

Note: The above assumes that PHP4 was installed in D:\php (the PHP5 DLL is named php5isapi.dll but is otherwise configured the same as PHP4). In addition, the php.ini configuration file needs to be placed in the system directory (i.e. c:\WINDOWS\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.