红联Linux门户
Linux帮助

Ubuntu16.04 php5安装失败解决方案

发布时间:2016-05-27 10:27:58来源:linux网站作者:worldpeace370

在Ubuntu16.04桌面系统安装php5时,提示Package php5 have no installation candidate,经过搜索,找到的解决该问题的答案:

Ubuntu16.04 php5安装失败解决方案

Ubuntu16.04 php5安装失败解决方案


Ubuntu 16.04 comes with PHP7 as the standard, so there are no PHP5 packages

However if you like you can add a PPA to get those packages anyways:
Add the PPA

sudo add-apt-repository ppa:ondrej/php

Install your PHP Version

sudo apt-get update
sudo apt-get install php5.6

You can install php5.6 modules too ..


本文永久更新地址:http://www.linuxdiyf.com/linux/20991.html