Created
October 16, 2018 03:48
-
-
Save kuntashov/b944b5ce5120ad17250ad0c2ef96f342 to your computer and use it in GitHub Desktop.
Downgrade PHP to 5.6 on BitrixEnv 7+ (CentOS 7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service httpd stop | |
yum install php56 | |
yum --enablerepo=remi-php56 install \ | |
php56-php php56-php-pear php56-php-bcmath\ | |
php56-php-pecl-jsond-devel php56-php-mysqlnd \ | |
php56-php-gd php56-php-common php56-php-fpm \ | |
php56-php-intl php56-php-cli php56-php php56-php-xml \ | |
php-php-opcache php56-php-pecl-apcu php56-php-pecl-jsond \ | |
php56-php-pdo php56-php-gmp php56-php-process php56-php-pecl-imagick \ | |
php56-php-devel php56-php-mbstring | |
rm -f /usr/bin/php | |
ln -s /usr/bin/php56 /usr/bin/php | |
service httpd start | |
# Check result | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment