<HTML ><HEAD ><TITLE >Servers-OmniHTTPd Server</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Installation" HREF="installation.html"><LINK REL="PREVIOUS" TITLE="Servers-Netscape and iPlanet" HREF="install.netscape-enterprise.html"><LINK REL="NEXT" TITLE="Servers-Oreilly Website Pro" HREF="install.oreilly.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="install.netscape-enterprise.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 3. Installation</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="install.oreilly.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="install.omnihttpd" ></A >Servers-OmniHTTPd Server</H1 ><P > This section contains notes and hints specific to OmniHTTPd. </P ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="install.omnihttpd.windows" ></A >OmniHTTPd 2.0b1 and up for Windows</H2 ><P > You need to complete the following steps to make PHP work with OmniHTTPd. This is a CGI executable setup. SAPI is supported by OmniHTTPd, but some tests have shown that it is not so stable to use PHP as an ISAPI module. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Important for CGI users: </B > Read the <A HREF="faq.installation.html#faq.installation.forceredirect" >faq on cgi.force_redirect</A > for important details. This directive needs to be set to <TT CLASS="literal" >0</TT >. </P ></BLOCKQUOTE ></DIV ><P > <P ></P ><UL ><LI ><P > Step 1: Install OmniHTTPd server. </P ></LI ><LI ><P > Step 2: Right click on the blue OmniHTTPd icon in the system tray and select <TT CLASS="literal" >Properties</TT > </P ></LI ><LI ><P > Step 3: Click on <TT CLASS="literal" >Web Server Global Settings</TT > </P ></LI ><LI ><P > Step 4: On the 'External' tab, enter: <TT CLASS="literal" >virtual = .php | actual = c:\path-to-php-dir\php.exe</TT >, and use the Add button. </P ></LI ><LI ><P > Step 5: On the <TT CLASS="literal" >Mime</TT > tab, enter: <TT CLASS="literal" >virtual = wwwserver/stdcgi | actual = .php</TT >, and use the Add button. </P ></LI ><LI ><P > Step 6: Click <TT CLASS="literal" >OK</TT > </P ></LI ></UL > </P ><P > Repeat steps 2 - 6 for each extension you want to associate with PHP. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > Some OmniHTTPd packages come with built in PHP support. You can choose at setup time to do a custom setup, and uncheck the PHP component. We recommend you to use the latest PHP binaries. Some OmniHTTPd servers come with PHP 4 beta distributions, so you should choose not to set up the built in support, but install your own. If the server is already on your machine, use the Replace button in Step 4 and 5 to set the new, correct information. </P ></BLOCKQUOTE ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="install.netscape-enterprise.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="install.oreilly.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Servers-Netscape and iPlanet</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="installation.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Servers-Oreilly Website Pro</TD ></TR ></TABLE ></DIV ></BODY ></HTML >