Skip to content

Instantly share code, notes, and snippets.

@hewersonfreitas
Created January 22, 2020 14:45
Show Gist options
  • Save hewersonfreitas/ff2d0766380a0f4c166c985d58025078 to your computer and use it in GitHub Desktop.
Save hewersonfreitas/ff2d0766380a0f4c166c985d58025078 to your computer and use it in GitHub Desktop.
sudo a2dismod php5.6
sudo a2enmod php7.0
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.0
sudo update-alternatives --set phar /usr/bin/phar7.0
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment