diff options
-rwxr-xr-x | src/etc/rc.php_ini_setup | 7 |
1 files changed, 4 insertions, 3 deletions
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 |