2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-08-26 23:49:12 +00:00
|
|
|
<!-- $Revision: 1.10 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<reference id="ref.apache">
|
|
|
|
<title>Apache-specific Functions</title>
|
|
|
|
<titleabbrev>Apache</titleabbrev>
|
2002-05-10 17:05:54 +00:00
|
|
|
<partintro>
|
2002-09-18 11:01:32 +00:00
|
|
|
<section id="apache.intro">
|
|
|
|
&reftitle.intro;
|
|
|
|
<para>
|
2003-12-11 22:02:04 +00:00
|
|
|
These functions are only available when running PHP as an Apache module.
|
2002-09-18 11:01:32 +00:00
|
|
|
</para>
|
2004-04-19 14:52:33 +00:00
|
|
|
<note>
|
2004-08-26 23:49:12 +00:00
|
|
|
<simpara>
|
|
|
|
As of PHP 4.3.2, <envar>PATH_TRANSLATED</envar> is no longer set
|
|
|
|
implicitly under the Apache 2 <acronym>SAPI</acronym> in contrast
|
|
|
|
to the situation in Apache 1, where it's set to the same value as
|
|
|
|
the <envar>SCRIPT_FILENAME</envar> server variable when it's not
|
|
|
|
populated by Apache. This change was made to comply with the
|
|
|
|
<acronym>CGI</acronym> specification that
|
|
|
|
<envar>PATH_TRANSLATED</envar> should only exist if
|
|
|
|
<envar>PATH_INFO</envar> is defined.
|
|
|
|
</simpara>
|
|
|
|
<simpara>
|
|
|
|
Apache 2 users may use <literal>AcceptPathInfo = On</literal> inside
|
|
|
|
<filename>httpd.conf</filename> to define <envar>PATH_INFO</envar>.
|
|
|
|
</simpara>
|
2004-04-19 14:52:33 +00:00
|
|
|
</note>
|
2002-09-18 11:01:32 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="apache.installation">
|
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2004-08-10 13:01:08 +00:00
|
|
|
For PHP installation on Apache see the <link
|
|
|
|
linkend='install'>installation chapter</link>.
|
2002-09-18 11:01:32 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
2002-09-26 21:59:44 +00:00
|
|
|
&reference.apache.ini;
|
2002-09-18 11:01:32 +00:00
|
|
|
|
|
|
|
<section id="apache.resources">
|
|
|
|
&reftitle.resources;
|
|
|
|
&no.resource;
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="apache.constants">
|
|
|
|
&reftitle.constants;
|
|
|
|
&no.constants;
|
|
|
|
</section>
|
2002-05-10 17:05:54 +00:00
|
|
|
</partintro>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
&reference.apache.functions;
|
|
|
|
|
|
|
|
</reference>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|
|
|
|
|