您好,登錄后才能下訂單哦!
本篇文章為大家展示了無法在ubuntu中安裝php5如何解決,內容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。
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如何解決,你們學到知識或技能了嗎?如果還想學到更多技能或者豐富自己的知識儲備,歡迎關注億速云行業資訊頻道。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。