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

来源:互联网 发布:销售办公软件 编辑:程序博客网 时间:2024/05/16 09:41

笔者在Ubuntu16.04桌面系统安装php5时,提示Package php5 have no installation candidate,

在http://stackoverflow.com/questions/36788873/package-php5-have-no-installation-candidate-ubuntu-16-04上面找到了答案。

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://blog.csdn.net/u011511945/article/details/51379480

0 0
原创粉丝点击