debain服务器如何升级php7

今天想把服务器的wecenter项目升级到php7,但是出现问题,
 
需要更新一下php7的源
deb http://mirrors.aliyuncs.com/debian stretch main 
接下来就是安装了
执行命令
sudo apt-get install php7.0 php7.0-common 
/etc/init.d/php7.0-fpm restart  // 启动 

 
Has invited:

To reply to a question, please Login or registered