Created
March 27, 2016 01:16
-
-
Save fititnt/b8466d467e10eae79d9b to your computer and use it in GitHub Desktop.
Upgrade from PHP 5.x to PHP 7.0 on Centos with Webtatic.com packages
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
# replace PHP 5.6 with PHP 7.0, with only one command, yum swap | |
yum swap -- remove php56w-cli php56w-fpm php56w-xml php56w-pdo php56w-mysql php56w-mcrypt php56w-mbstring php56w-gd php56w-common php56w-mysql php56w-bcmath php56w-opcache -- install php70w-cli php70w-fpm php70w-xml php70w-pdo php70w-mysql php70w-mcrypt php70w-mbstring php70w-gd php70w-common php70w-mysql php70w-bcmath php70w-opcache | |
# If you are using PHP-FPM, need start it again | |
systemctl start php-fpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment