Last active
September 2, 2016 11:07
-
-
Save v1talii-dev/1cf5d9ff41af9d0d31111846a313e24a to your computer and use it in GitHub Desktop.
Server: migrate from php5 to php7 on Ubuntu 14.04 (for Drupal 7)
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 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.0 php7.0-mysql php7.0-gd php-xml php7.0-mbstring php7.0-zip php-curl | |
# Change version php for Apache | |
sudo a2dismod php5.6 | |
sudo a2enmod php7.0 | |
sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment