From 3e9127fad7ffac58e176050ae64241649f7ad6f8 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 27 Aug 2015 09:56:37 -0300 Subject: Move opcache to zend_extensions --- src/etc/rc.php_ini_setup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/etc/rc.php_ini_setup') diff --git a/src/etc/rc.php_ini_setup b/src/etc/rc.php_ini_setup index 0013b58..6b26386 100755 --- a/src/etc/rc.php_ini_setup +++ b/src/etc/rc.php_ini_setup @@ -90,9 +90,6 @@ fi # Define php modules. Do not add .so, it will # be done automatically by the script below. PHPMODULES="standard" -if [ "$LOWMEM" != "TRUE" ]; then - PHPMODULES="$PHPMODULES opcache" -fi # Config read/write PHPMODULES="$PHPMODULES xml libxml dom" PHPMODULES="$PHPMODULES SimpleXML xmlreader xmlwriter" @@ -143,6 +140,10 @@ PHPMODULES="$PHPMODULES filter" PHP_ZEND_MODULES="ioncube_loader" PHP_ZEND_MODULES_TS="ioncube_loader_ts" +if [ "$LOWMEM" != "TRUE" ]; then + PHP_ZEND_MODULES="$PHP_ZEND_MODULES opcache" +fi + # Modules previously included. # can be turned on by touching # /etc/php_dynamodules/$modulename -- cgit v1.1