mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +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)
|
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
|
# apc
|
||||||
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.5.0-dev', '<');"` == "1" ]
|
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.5.0-dev', '<');"` == "1" ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user