mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12141] Disable broken opcache extension on PHP 5.5.7.
PHPBB3-12141
This commit is contained in:
parent
ac954a7c4b
commit
cb544ed7ae
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue