diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-01-02 20:34:45 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-01-02 20:34:45 +0100 |
commit | 5a0e426b38f615930de14fdf5070d8891f8c3bca (patch) | |
tree | 356c005c60b1438c6e6f40ed3c5e5d3d993fa994 /travis | |
parent | [ticket/14948] Switch to VC15 where necessary for appveyor mssql driver (diff) | |
download | phpbb-5a0e426b38f615930de14fdf5070d8891f8c3bca.tar.gz phpbb-5a0e426b38f615930de14fdf5070d8891f8c3bca.tar.bz2 phpbb-5a0e426b38f615930de14fdf5070d8891f8c3bca.zip |
[ticket/14948] Remove checks for unsupported PHP versions
PHPBB3-14948
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/setup-php-extensions.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/travis/setup-php-extensions.sh b/travis/setup-php-extensions.sh index 918f67cd47..f6b12c421c 100755 --- a/travis/setup-php-extensions.sh +++ b/travis/setup-php-extensions.sh @@ -42,16 +42,9 @@ function install_php_extension php_ini_file=$(find_php_ini) -# apc -if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.5.0-dev', '<');"` == "1" ] -then - echo 'Enabling APC PHP extension' - printf "\n" | pecl install apc - echo 'apc.enable_cli=1' >> "$php_ini_file" -else - echo 'Disabling Opcache' - echo 'opcache.enable=0' >> "$php_ini_file" -fi +# Disable opcache for testing +echo 'Disabling Opcache' +echo 'opcache.enable=0' >> "$php_ini_file" # APCu if [ `php -r "echo (int) (version_compare(PHP_VERSION, '7.0.0-dev', '>=') && version_compare(PHP_VERSION, '7.3.0-dev', '<'));"` == "1" ] |