Sophie

Sophie

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

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>Installation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wincache.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wincache.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="wincache.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="wincache.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="para">
   This <a href="http://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> extension
is not bundled with PHP.
  </p>
  <p class="para">
   Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.html" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
   <a href="http://pecl.php.net/package/wincache" class="link external">&raquo;&nbsp;http://pecl.php.net/package/wincache</a>.
  </p>
  <p class="para">
   There are two packages for this extension: one package is for PHP versions 5.2.X, 
   and the other package is for PHP 5.3.X. Select the package that is appropriate for 
   the PHP version being used.
  </p>
  <p class="para">
   To install and enable the extension, follow these steps:
  </p>
  <div class="procedure">
   <ol type="1"><li>
    <p class="simpara">
     Unpack the package into some temporary location.
    </p>
   </li>
   <li>
    <p class="simpara">
     Copy the <var class="filename">php_wincache.dll</var> file into the PHP extensions folder. 
     Typically this folder is called &quot;ext&quot; and it is located in the same folder with all 
     PHP binary files. For example: <var class="filename">C:\Program Files\PHP\ext</var>.
    </p>
   </li>
   <li>
    <p class="simpara">
     Using a text editor, open the php.ini file, which is usually located in the 
     same folder where all PHP binary files are. For example: 
     <var class="filename">C:\Program Files\PHP\php.ini</var>.
    </p>
   </li>
   <li>
    <p class="simpara">
     Add the following line at the end of the php.ini file: 
     <em>extension = php_wincache.dll</em>.
    </p>
   </li>
   <li>
    <p class="simpara">
     Save and close the <var class="filename">php.ini</var> file. 
    </p>
   </li>
   <li>
    <p class="simpara">
     Recycle the IIS Application Pools for PHP to pick up the configuration changes.
     To check that the extension has been enabled, create a file called 
     <var class="filename">phpinfo.php</var> with a PHP code that calls 
     <a href="function.phpinfo.html" class="link">phpinfo</a> function.
    </p>
   </li>
   <li>
    <p class="simpara">
     Save the <var class="filename">phpinfo.php</var> file in the root folder of a 
     IIS web site that uses PHP, then open a browser and make a request to 
     http://localhost/phpinfo.php. Search within the returned web page 
     for a section called <em>wincache</em>. If the extension 
     is enabled, then the <a href="function.phpinfo.html" class="link">phpinfo</a> 
     output will list the configuration settings provided by the WinCache.
    </p>
   </li>
  </ol></div>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    Do not forget to remove <var class="filename">phpinfo.php</var> file from the web site&#039;s root folder after verifying that extension has been enabled.
   </span>
  </p></blockquote>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wincache.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wincache.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="wincache.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>