Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # Switch from PHP7.x to PHP7.x
  2. sudo a2dismod php7.1
  3. sudo a2enmod php7.3
  4.  
  5. #To activate the new configuration, you need to run:
  6. systemctl restart apache2
  7.  
  8. sudo update-alternatives --set php /usr/bin/php7.3
  9. sudo update-alternatives --set phar /usr/bin/phar7.3
  10. sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.3
  11. sudo update-alternatives --set phpize /usr/bin/phpize7.3
  12. sudo update-alternatives --set php-config /usr/bin/php-config7.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement