Explorar o código

Merge pull request #8253 from infosiftr/php-opcache

Stop building "opcache" in "php-ext-install" test
Tianon Gravi %!s(int64=5) %!d(string=hai) anos
pai
achega
0c265df867
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      test/tests/php-ext-install/container.sh

+ 2 - 1
test/tests/php-ext-install/container.sh

@@ -5,6 +5,7 @@ docker-php-ext-install pdo_mysql 2>&1
 php -r 'exit(extension_loaded("pdo_mysql") ? 0 : 1);'
 grep -q '^extension=' /usr/local/etc/php/conf.d/*pdo_mysql*.ini
 
-docker-php-ext-install opcache 2>&1
+# opcache is pre-built by default at least as far back as PHP 5.5
+docker-php-ext-enable opcache 2>&1
 php -r 'exit(extension_loaded("Zend OPcache") ? 0 : 1);'
 grep -q '^zend_extension=' /usr/local/etc/php/conf.d/*opcache*.ini