Skip to content

Commit a8b91e4

Browse files
committed
Fixed syntax errors.
1 parent 32d73ed commit a8b91e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

switch-to-php-7.1.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ sudo a2dismod php5.6 > /dev/null
66
echo "* Disabling Apache PHP 7.2 module..."
77
sudo a2dismod php7.2 > /dev/null
88

9-
echo "* Enabling Apache PHP 7.0 module..."
9+
echo "* Disabling Apache PHP 7.0 module..."
1010
sudo a2dismod php7.0 > /dev/null
1111

12-
echo "* Enabling Apache PHP 7.0 module..."
12+
echo "* Enabling Apache PHP 7.1 module..."
1313
sudo a2enmod php7.1 > /dev/null
1414

1515
echo "* Restarting Apache..."
@@ -18,4 +18,4 @@ sudo service apache2 restart > /dev/null
1818
echo "* Switching CLI PHP to 7.1..."
1919
sudo update-alternatives --set php /usr/bin/php7.1 > /dev/null
2020

21-
echo "* Switch to PHP 7.0 complete."
21+
echo "* Switch to PHP 7.1 complete."

0 commit comments

Comments
 (0)