Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 3045

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>Apache-specific Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Function Reference"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="Function Reference"
HREF="funcref.html"><LINK
REL="NEXT"
TITLE="apache_child_terminate"
HREF="function.apache-child-terminate.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="funcref.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.apache-child-terminate.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.apache"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>I. Apache-specific Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN6835"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="apache.intro"
></A
>Introduction</H1
><P
>&#13;     These functions are only available when running PHP as an Apache 1.x module.
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="apache.installation"
></A
>Installation</H1
><P
>&#13;     For PHP installation on Apache 1.x see the 
     <A
HREF="install.apache.html"
>Apache section</A
> in the installation 
     chapter.
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="apache.configuration"
></A
>Runtime Configuration</H1
><P
>&#13;  The behaviour of the Apache PHP module is affected by settings in php.ini.
  Configuration settings from <TT
CLASS="filename"
>php.ini</TT
> may be overridden by php_flag settings
  in the server configuration file or local <TT
CLASS="filename"
>.htaccess</TT
> files.
 </P
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
CLASS="EXAMPLE"
><TR
><TD
><DIV
CLASS="example"
><A
NAME="AEN6848"
></A
><P
><B
>Example 1. Turning off PHP parsing for a directory using <TT
CLASS="filename"
>.htaccess</TT
></B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="programlisting"
>php_flag engine off</PRE
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
><P
>&#13;  <DIV
CLASS="table"
><A
NAME="AEN6853"
></A
><P
><B
>Table 1. Apache configuration options</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>Name</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>Default</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>Changeable</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>Function</TH
></TR
></THEAD
><TBODY
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>engine</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>On</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>PHP_INI_ALL</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>turns PHP parsing on or off</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>child_terminate</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>Off</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>PHP_INI_ALL</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13;       specify whether PHP scripts may request child process termination on end of request, 
       see also <A
HREF="function.apache-child-terminate.html"
><B
CLASS="function"
>apache_child_terminate()</B
></A
>
      </TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>last_modified</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>Off</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>PHP_INI_ALL</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>send PHP scripts modification date as Last-Modified: header for this request</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>xbit_hack</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>Off</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>PHP_INI_ALL</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>parse files with executable bit set as PHP regardles of their file ending</TD
></TR
></TBODY
></TABLE
></DIV
>
 </P
><P
>&#13; Here is a short explanation of the configuration directives.
 <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><A
NAME="ini.engine"
></A
><TT
CLASS="parameter"
><I
>engine</I
></TT
>
   <A
HREF="language.types.boolean.html"
><B
CLASS="type"
>boolean</B
></A
></DT
><DD
><P
>&#13;     This directive is really only useful in the Apache module
     version of PHP. It is used by sites that would like to turn
     PHP parsing on and off on a per-directory or per-virtual
     server basis. By putting <TT
CLASS="userinput"
><B
>engine
     off</B
></TT
> in the appropriate places in the
     <TT
CLASS="filename"
>httpd.conf</TT
> file, PHP can be enabled or
     disabled.
    </P
></DD
></DL
></DIV
>
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="apache.resources"
></A
>Resource Types</H1
><P
>This extension has no resource types defined.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="apache.constants"
></A
>Predefined Constants</H1
><P
>This extension has no constants defined.</P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="function.apache-child-terminate.html"
>apache_child_terminate</A
>&nbsp;--&nbsp;Terminate apache process after this request</DT
><DT
><A
HREF="function.apache-lookup-uri.html"
>apache_lookup_uri</A
>&nbsp;--&nbsp;
     Perform a partial request for the specified URI and return all
     info about it
    </DT
><DT
><A
HREF="function.apache-note.html"
>apache_note</A
>&nbsp;--&nbsp;Get and set apache request notes</DT
><DT
><A
HREF="function.apache-request-headers.html"
>apache_request_headers</A
>&nbsp;--&nbsp;Fetch all HTTP request headers</DT
><DT
><A
HREF="function.apache-response-headers.html"
>apache_response_headers</A
>&nbsp;--&nbsp;
     Fetch all HTTP response headers
    </DT
><DT
><A
HREF="function.apache-setenv.html"
>apache_setenv</A
>&nbsp;--&nbsp;Set an Apache subprocess_env variable</DT
><DT
><A
HREF="function.ascii2ebcdic.html"
>ascii2ebcdic</A
>&nbsp;--&nbsp;Translate string from ASCII to EBCDIC</DT
><DT
><A
HREF="function.ebcdic2ascii.html"
>ebcdic2ascii</A
>&nbsp;--&nbsp;Translate string from EBCDIC to ASCII</DT
><DT
><A
HREF="function.getallheaders.html"
>getallheaders</A
>&nbsp;--&nbsp;Fetch all HTTP request headers</DT
><DT
><A
HREF="function.virtual.html"
>virtual</A
>&nbsp;--&nbsp;Perform an Apache sub-request</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.apache-child-terminate.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Function Reference</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>apache_child_terminate</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>