mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Update the opcache installation documentation to reflect that it's actually
enabled by default. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330592 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c519878978
commit
15fead8ddc
1 changed files with 10 additions and 3 deletions
|
@ -20,10 +20,17 @@
|
|||
<title>PHP 5.5.0 and later</title>
|
||||
|
||||
<para>
|
||||
To use OPcache with PHP 5.5.0 or later, you must compile PHP with the
|
||||
<option role="configure">--enable-opcache</option> option, then use the
|
||||
By default, OPcache will be compiled as a shared extension. If you have
|
||||
disabled the building of default extensions with
|
||||
<option role="configure">--disable-all</option>, you must compile PHP with
|
||||
the <option role="configure">--enable-opcache</option> option for OPcache
|
||||
to be available.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Once compiled, you can use the
|
||||
<link linkend="ini.zend-extension">zend_extension</link> configuration
|
||||
directive to load the library at runtime. This can be done with
|
||||
directive to load the OPcache extension into PHP. This can be done with
|
||||
<literal>zend_extension=/full/path/to/opcache.so</literal> on non-Windows
|
||||
platforms, and <literal>zend_extension=C:\path\to\php_opcache.dll</literal>
|
||||
on Windows.
|
||||
|
|
Loading…
Reference in a new issue