ubuntu16.04 Installing PHP 7.2

//install 
sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.2

  

//Configuring Apache to Use PHP 7.2
ls /etc/apache2/mods-available/php*

ls /etc/apache2/mods-enabled/php*

sudo a2dismod php7.0
sudo a2enmod php7.2
apachectl -t
sudo service apache2 restart

  https://www.liquidweb.com/kb/install-php-7-2-ubuntu-16-04/

猜你喜欢

转载自www.cnblogs.com/JerryXin/p/11585520.html
今日推荐