Skip to content

Commit

Permalink
[ticket/12141] Disable broken opcache extension on PHP 5.5.7.
Browse files Browse the repository at this point in the history
PHPBB3-12141
  • Loading branch information
bantu committed Feb 4, 2014
1 parent ac954a7 commit cb544ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions travis/setup-php-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ function install_php_extension

php_ini_file=$(find_php_ini)

# disable broken opcache on PHP 5.5.7
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.5.8', '<');"` == "1" ]
then
sed -i '/opcache.so/d' "$php_ini_file"
fi

# apc
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.5.0-dev', '<');"` == "1" ]
then
Expand Down

0 comments on commit cb544ed

Please sign in to comment.