无法在ubuntu中安装php5如何解决
本篇文章为大家展示了无法在ubuntu中安装php5如何解决,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
10多年的临洮网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。成都全网营销的优势是能够根据用户设备显示端的尺寸不同,自动调整临洮建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。成都创新互联公司从事“临洮网站设计”,“临洮网站推广”以来,每个客户项目都认真落实执行。
ubuntu安装不了php5是因为ubuntu16.04官方软件库中没有php5,只自带php7,其解决办法就是安装14.04或者使用PPA即可。
在ubuntu16.04下无法安装php5问题解决
由于之前的项目是用php5写的,想要部署在升级到ubuntu16.04的系统上就要安装php5版本,运行下列命令后发现如下提示:
lhs@taing:/var/www/html$ sudo apt-get install php5 Reading package lists... Done Building dependency tree Reading state information... Done Package php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5' has no installation candidate lhs@taing:/var/www/html$ sudo apt-get install libapache2-mod-php5 Reading package lists... Done Building dependency tree... 50% Building dependency tree Reading state information... Done Package libapache2-mod-php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libapache2-mod-php5' has no installation candidate
上述内容就是无法在ubuntu中安装php5如何解决,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。
本文标题:无法在ubuntu中安装php5如何解决
浏览地址:http://myzitong.com/article/giieep.html