PrakashLakhara

enablephp7.1

Feb 26th, 2021 (edited)
330
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo a2dismod php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 php8.0  > /dev/null
  2. sudo a2enmod php7.1 > /dev/null
  3. sudo update-alternatives --set php /usr/bin/php7.1 > /dev/null
  4. #sudo ln -sf /usr/bin/php7.1 /etc/alternatives/php > /dev/null
  5. sudo service apache2 reload > /dev/null
  6.  
RAW Paste Data