Sophie

Sophie

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

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>Runtime Configuration</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="apache.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="apache.resources.html">Resource Types</a></div>
 <div class="up"><a href="apache.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="apache.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="para">
  The behaviour of the Apache PHP module is affected by settings in <var class="filename">php.ini</var>.
  Configuration settings from <var class="filename">php.ini</var> may be overridden by
  <a href="configuration.changes.html#configuration.changes.apache" class="link">php_flag</a> settings
  in the server configuration file or local <var class="filename">.htaccess</var> files.
 </p>
 <div class="example" id="example-4749">
  <p><strong>Example #1 Turning off PHP parsing for a directory using <var class="filename">.htaccess</var></strong></p>
  <div class="example-contents"><div class="cdata"><pre>php_flag engine off</pre></div></div>

 </div>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Apache configuration options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="apache.configuration.html#ini.engine" class="link">engine</a></td>
      <td>&quot;1&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 4.0.5.</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.html#ini.child-terminate" class="link">child_terminate</a></td>
      <td>&quot;0&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 4.0.5.</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.html#ini.last-modified" class="link">last_modified</a></td>
      <td>&quot;0&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 4.0.5.</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.html#ini.xbithack" class="link">xbithack</a></td>
      <td>&quot;0&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 4.0.5.</td>
     </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>.
 </p>
 
 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>
 
 <p class="para">
  <dl>

   <dt id="ini.engine">
    <span class="term">
     <em><code class="parameter">engine</code></em>
     <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
    </span>
    <dd>

     <p class="para">
      Turns PHP parsing on or off.
      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 <strong class="userinput"><code>engine off</code></strong>
      in the appropriate places in the <var class="filename">httpd.conf</var> file, PHP can
      be enabled or disabled.
     </p>
    </dd>

   </dt>

   <dt id="ini.child-terminate">
    <span class="term">
     <em><code class="parameter">child_terminate</code></em>
     <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
    </span>
    <dd>

     <p class="para">
      Specify whether PHP scripts may request child process termination on end of request, 
      see also  <span class="function"><a href="function.apache-child-terminate.html" class="function">apache_child_terminate()</a></span>.
     </p>
    </dd>

   </dt>

   <dt id="ini.last-modified">
    <span class="term">
     <em><code class="parameter">last_modified</code></em>
     <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
    </span>
    <dd>

     <p class="para">
      Send PHP scripts modification date as Last-Modified: header for this request.
     </p>
    </dd>

   </dt>

   <dt id="ini.xbithack">
    <span class="term">
     <em><code class="parameter">xbithack</code></em>
     <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
    </span>
    <dd>

     <p class="para">
      Parse files with executable bit set as PHP regardless of their file ending.
     </p>
    </dd>

   </dt>

  </dl>

 </p>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="apache.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="apache.resources.html">Resource Types</a></div>
 <div class="up"><a href="apache.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>