mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12141] Disable broken opcache extension on PHP 5.5.7.
PHPBB3-12141
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user