Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8243

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Xitami on Microsoft Windows</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="install.windows.sambar.html">Sambar Server on Microsoft Windows</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="install.windows.building.html">Building from source</a></div>
 <div class="up"><a href="install.windows.html">Installation on Windows systems</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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">&raquo;&nbsp;Xitami</a> on Windows.
    </p>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <p class="para">
      You should read the <a href="install.windows.manual.html" class="link">manual
       installation steps</a> first!
     </p>
    </p></blockquote>
    <p class="simpara">
     This list describes how to set up the PHP CGI binary
     to work with Xitami on Windows.
    </p>
    
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <strong>Important for CGI users</strong><br />
     <p class="para">
      Read the <a href="faq.installation.html#faq.installation.forceredirect" class="link">faq
      on cgi.force_redirect</a> for important details.  This
      directive needs to be set to <em>0</em>.
      If you want to use <em>$_SERVER[&#039;PHP_SELF&#039;]</em> you have to
      enable the <a href="ini.core.html#ini.cgi.fix-pathinfo" class="link">cgi.fix_pathinfo</a>
      directive.
     </p>
    </p></blockquote>
    <div class="warning"><strong class="warning">Warning</strong><p class="para">A server deployed in CGI mode is open
to several possible vulnerabilities. Please read our
<a href="security.cgi-bin.html" class="link">CGI security section</a> to learn how to
defend yourself from such attacks.</p></div>
    <p class="para">
     <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 <em>http://127.0.0.1/admin</em>),
        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 &#039;Save&#039; icon.
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        Restart the server to reflect changes.
       </p>
      </li>
     </ul>
    </p>
   </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="install.windows.sambar.html">Sambar Server on Microsoft Windows</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="install.windows.building.html">Building from source</a></div>
 <div class="up"><a href="install.windows.html">Installation on Windows systems</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>