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 and php4ts.dll DLL be placed in the system directory (Note: you may need to place additional PHP DLLs in the system directory depending on what PHP libraries are used).

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

<? phpinfo(); ?>

JRun
JRun from www.livesoftware.com is a server side extension that allows ISAPI compatible servers to execute Java server side components, or Servelets, for the processing and display of information. After downloading and installing the JRun ISAPI package, the following ISAPI direct execute mapping should be added to the config/mappings.ini:

[isapi]
/servelet = d:\jrun\jrun.dll

Note: The above assumes that JRun was installed in D:\jrun. In addition, you will want to setup an alias to the JRun sample documents:

[aliases]
/jrun/ = d:/jrun/docs/

The JRun samples can now be executed by accessing the JRun sample page:

http://localhost/jrun/default.htm

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