mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Tell omnihttpd and xitami users that they need cgi.force_redirect = 0 too.
This is related to bug #16111 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112773 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
67741508ab
commit
de2de0164f
2 changed files with 46 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<sect1 id="install.omnihttpd">
|
||||
<title>Servers-OmniHTTPd Server</title>
|
||||
<para>
|
||||
|
@ -14,6 +14,28 @@
|
|||
SAPI is supported by OmniHTTPd, but some tests have shown
|
||||
that it is not so stable to use PHP as an ISAPI module.
|
||||
</simpara>
|
||||
|
||||
<note>
|
||||
<title>Important for CGI users</title>
|
||||
<para>
|
||||
When running PHP as CGI with IIS, PWS, OmniHTTPD or Xitami,
|
||||
you MUST set the <link linkend="ini.cgi.force-redirect">
|
||||
cgi.force_redirect</link> directive to <literal>0</literal>.
|
||||
It defaults to <literal>1</literal> so be sure the directive
|
||||
isn't commented out (with a <literal>;</literal>).
|
||||
</para>
|
||||
<para>
|
||||
It's important that you're 100% sure that &php.ini; is
|
||||
being read by PHP. To test this, make a call to
|
||||
<function>phpinfo</function> and near the top will be a
|
||||
listing called <literal>Configuration File (php.ini)</literal>.
|
||||
This will tell you where PHP is looking for &php.ini; and
|
||||
whether or not it's being read. If just a PATH exists
|
||||
than it's not being read and you should put your &php.ini;
|
||||
there. If &php.ini; is included with the PATH than it is
|
||||
being read.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
<itemizedlist>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<sect1 id="install.xitami">
|
||||
<title>Servers-Xitami</title>
|
||||
<para>
|
||||
|
@ -12,6 +12,28 @@
|
|||
This list describes how to set up the PHP CGI binary
|
||||
to work with Xitami on Windows.
|
||||
</simpara>
|
||||
|
||||
<note>
|
||||
<title>Important for CGI users</title>
|
||||
<para>
|
||||
When running PHP as CGI with IIS, PWS, OmniHTTPD or Xitami,
|
||||
you MUST set the <link linkend="ini.cgi.force-redirect">
|
||||
cgi.force_redirect</link> directive to <literal>0</literal>.
|
||||
It defaults to <literal>1</literal> so be sure the directive
|
||||
isn't commented out (with a <literal>;</literal>).
|
||||
</para>
|
||||
<para>
|
||||
It's important that you're 100% sure that &php.ini; is
|
||||
being read by PHP. To test this, make a call to
|
||||
<function>phpinfo</function> and near the top will be a
|
||||
listing called <literal>Configuration File (php.ini)</literal>.
|
||||
This will tell you where PHP is looking for &php.ini; and
|
||||
whether or not it's being read. If just a PATH exists
|
||||
than it's not being read and you should put your &php.ini;
|
||||
there. If &php.ini; is included with the PATH than it is
|
||||
being read.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
<itemizedlist>
|
||||
|
|
Loading…
Reference in a new issue