Source of: /manual/en/install.windows.omnihttpd.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.windows.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'install.windows.omnihttpd.php',
1 => 'OmniHTTPd Server',
),
'up' =>
array (
0 => 'install.windows.php',
1 => 'Installation on Windows systems',
),
'prev' =>
array (
0 => 'install.windows.sun.php',
1 => 'Sun, iPlanet and Netscape servers on Microsoft Windows',
),
'next' =>
array (
0 => 'install.windows.sambar.php',
1 => 'Sambar Server on Microsoft Windows',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="install.windows.omnihttpd" class="sect1">
<h2 class="title">OmniHTTPd Server</h2>
<p class="para">
This section contains notes and hints specific to
<a href="http://www.omnicron.ca/" class="link external">» OmniHTTPd</a> on Windows.
</p>
<blockquote><p><b class="note">Note</b>:
You should read the <a href="install.windows.manual.php" class="link">manual
installation steps</a> first!
<br />
</p></blockquote>
<div class="warning"><b class="warning">Warning</b><p class="para">A server deployed in CGI mode is open
to several possible vulnerabilities. Please read our
<a href="security.cgi-bin.php" class="link">CGI security section</a> to learn how to
defend yourself from such attacks.</p></div>
<p class="simpara">
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>
<blockquote><p><b class="note">Note</b>:
<b>Important for CGI users</b><br />
Read the <a href="faq.installation.php#faq.installation.forceredirect" class="link">faq
on cgi.force_redirect</a> for important details. This
directive needs to be set to <i>0</i>.
<br />
</p></blockquote>
<p class="para">
</p><ol type="1">
<li class="listitem">
<p class="para">
Install OmniHTTPd server.
</p>
</li>
<li class="listitem">
<p class="para">
Right click on the blue OmniHTTPd icon in the system
tray and select <i>Properties</i>
</p>
</li>
<li class="listitem">
<p class="para">
Click on <i>Web Server Global Settings</i>
</p>
</li>
<li class="listitem">
<p class="para">
On the 'External' tab, enter: <i>virtual = .php
| actual = c:\php\php.exe</i> (use
<var class="filename">php-cgi.exe</var> if installing PHP 5), and use the Add
button.
</p>
</li>
<li class="listitem">
<p class="para">
On the <i>Mime</i> tab, enter:
<i>virtual = wwwserver/stdcgi | actual = .php</i>,
and use the Add button.
</p>
</li>
<li class="listitem">
<p class="para">
Click <i>OK</i>
</p>
</li>
</ol><p>
</p>
<p class="simpara">
Repeat steps 2 - 6 for each extension you want to associate with PHP.
</p>
<blockquote><p><b class="note">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.
<br />
</p></blockquote>
</div><?php manual_footer(); ?>