From 15fead8ddc3aebbf9c6af90f1be51fdf6e1abecc Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 21 Jun 2013 06:06:44 +0000 Subject: [PATCH] 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 --- reference/opcache/configure.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/reference/opcache/configure.xml b/reference/opcache/configure.xml index 28fea47613..28a740d032 100644 --- a/reference/opcache/configure.xml +++ b/reference/opcache/configure.xml @@ -20,10 +20,17 @@ PHP 5.5.0 and later - To use OPcache with PHP 5.5.0 or later, you must compile PHP with the - option, then use the + By default, OPcache will be compiled as a shared extension. If you have + disabled the building of default extensions with + , you must compile PHP with + the option for OPcache + to be available. + + + + Once compiled, you can use the zend_extension 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 zend_extension=/full/path/to/opcache.so on non-Windows platforms, and zend_extension=C:\path\to\php_opcache.dll on Windows.