Skip to content

Commit 8d6cde9

Browse files
committed
changed 'is opcache loaded test'
1 parent 9d061b1 commit 8d6cde9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/prod.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
PHP_SERVICE=${PHP_SERVICE-php}
44

55
docker-compose run --rm ${PHP_SERVICE} php --version
6-
docker-compose run --rm ${PHP_SERVICE} php -i | grep opcache
6+
# this would match even if module is not loaded, eg. when commented out in opcache.ini
7+
# docker-compose run --rm ${PHP_SERVICE} php -i | grep opcache
8+
9+
# better check loaded module list
10+
docker-compose run --rm ${PHP_SERVICE} php -m | grep -i opcache

0 commit comments

Comments
 (0)