<!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>Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.apache.html">Apache</a></div> <div class="next" style="text-align: right; float: right;"><a href="apache.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.apache.html">Apache</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="intro.apache" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> These functions are only available when running PHP as an Apache module. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara"> As of PHP 4.3.2, <span class="envar">PATH_TRANSLATED</span> is no longer set implicitly under the Apache 2 <acronym title="Server Application Programming Interface">SAPI</acronym> in contrast to the situation in Apache 1, where it's set to the same value as the <span class="envar">SCRIPT_FILENAME</span> server variable when it's not populated by Apache. This change was made to comply with the <acronym title="Common Gateway Interface">CGI</acronym> specification that <span class="envar">PATH_TRANSLATED</span> should only exist if <span class="envar">PATH_INFO</span> is defined. </span> <span class="simpara"> Apache 2 users may use <em>AcceptPathInfo = On</em> inside <var class="filename">httpd.conf</var> to define <span class="envar">PATH_INFO</span>. </span> </p></blockquote> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.apache.html">Apache</a></div> <div class="next" style="text-align: right; float: right;"><a href="apache.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.apache.html">Apache</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>