Last active
April 20, 2017 10:43
-
-
Save snicol/046c2bc01cc9fb03b7d32919b455a671 to your computer and use it in GitHub Desktop.
This file contains 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
sudo mv /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf.bak; | |
sudo yum remove -y php70w*; | |
sudo yum install -y php71w php71w-fpm php71w-opcache php71w-devel php71w-cli php71w-pdo php71w-pear php71w-mcrypt php71w-xml php71w-gd php71w-mbstring php71w-bcmath php71w-mysqlnd php71w-soap php71w-process php71w-pecl-redis php71w-pecl-imagick; | |
sudo rm -rf /etc/php-fpm.d/www.conf; | |
sudo mv /etc/php-fpm.d/www.conf.bak /etc/php-fpm.d/www.conf; | |
sudo service nginx restart && sudo service php-fpm restart; | |
echo "DONE MATEY!"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment