Source of: /manual/en/install.windows.xitami.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.xitami.php',
1 => 'Xitami on Microsoft Windows',
),
'up' =>
array (
0 => 'install.windows.php',
1 => 'Installation on Windows systems',
),
'prev' =>
array (
0 => 'install.windows.sambar.php',
1 => 'Sambar Server on Microsoft Windows',
),
'next' =>
array (
0 => 'install.windows.building.php',
1 => 'Building from source',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="install.windows.xitami" class="sect1">
<h2 class="title">Xitami on Microsoft Windows</h2>
<p class="para">
This section contains notes and hints specific to
<a href="http://www.xitami.com/" class="link external">» Xitami</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>
<p class="simpara">
This list describes how to set up the PHP CGI binary
to work with Xitami on Windows.
</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>.
If you want to use <i>$_SERVER['PHP_SELF']</i> you have to
enable the <a href="ini.core.php#ini.cgi.fix-pathinfo" class="link">cgi.fix_pathinfo</a>
directive.
<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="para">
</p><ul class="itemizedlist">
<li class="listitem">
<p class="para">
Make sure the web server is running, and point
your browser to xitamis admin console
(usually <i>http://127.0.0.1/admin</i>),
and click on Configuration.
</p>
</li>
<li class="listitem">
<p class="para">
Navigate to the Filters, and put the
extension which PHP should parse (i.e. .php)
into the field File extensions (.xxx).
</p>
</li>
<li class="listitem">
<p class="para">
In Filter command or script put the path and name
of your PHP CGI executable i.e. <var class="filename">C:\php\php.exe</var>
for PHP 4, or <var class="filename">C:\php\php-cgi.exe</var> for PHP 5.
</p>
</li>
<li class="listitem">
<p class="para">
Press the 'Save' icon.
</p>
</li>
<li class="listitem">
<p class="para">
Restart the server to reflect changes.
</p>
</li>
</ul><p>
</p>
</div><?php manual_footer(); ?>