笔者在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