Created
May 11, 2017 18:31
-
-
Save raulneis/7368a2ff6afc826474cd6466d76ede0b 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
#!/bin/bash | |
sudo a2dismod php7.0 | |
sudo a2dismod php7.1 | |
sudo a2enmod php5.6 | |
sudo service apache2 restart | |
sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php |
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
#!/bin/bash | |
sudo a2dismod php5.6 | |
sudo a2dismod php7.1 | |
sudo a2enmod php7.0 | |
sudo service apache2 restart | |
sudo ln -sfn /usr/bin/php7.0 /etc/alternatives/php |
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
#!/bin/bash | |
sudo a2dismod php5.6 | |
sudo a2dismod php7.0 | |
sudo a2enmod php7.1 | |
sudo service apache2 restart | |
sudo ln -sfn /usr/bin/php7.1 /etc/alternatives/php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#!/bin/bash
sudo a2dismod php5.6
sudo a2dismod php7.0
sudo a2dismod php7.1
sudo a2enmod php7.2
sudo service apache2 restart
sudo ln -sfn /usr/bin/php7.2 /etc/alternatives/php