Advertisement
PrakashLakhara

enablephp5.6

Feb 26th, 2021 (edited)
814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. sudo a2dismod php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 php8.0  > /dev/null
  2. sudo a2enmod php5.6 > /dev/null
  3. sudo update-alternatives --set php /usr/bin/php5.6 > /dev/null
  4. sudo ln -sf /usr/bin/php5.6 /etc/alternatives/php > /dev/null
  5. sudo service apache2 reload > /dev/null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement