VPS侦探论坛

 找回密码
 注册
查看: 3559|回复: 3

aarch64 Ubuntu 安装LNMP1.4安装PHP失败

[复制链接]
发表于 2018-4-22 13:26:28 | 显示全部楼层 |阅读模式

求助:PHP安装失败。望大神们帮忙解决。非常感谢。
服务器系统信息:ARM机顶盒一台(1G RAM   32G ROM)CPU芯片:S905
使用系统发行版名称:
Ubuntu Linux 16.04.3
系统内核:Linux 3.14.29

CPU:64位的  aarch64
使用一键包提供的php5.x(所以版本)与php7.x(所以版本)都安装失败。


附:使用apt-get install php,可以顺利安装php7 ,下面是我的/etc/apt/sources.list:
deb http://ports.ubuntu.com/ xenial main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-4-22 18:48:47 | 显示全部楼层


aarch64的目前都不支持的,一部分依赖包是不支持aarch64架构的
可以尝试将 include/php.sh 中的 --with-iconv-dir 、--with-mcrypt 、--with-mhash 全部参数去掉再重新安装试试
apt-get安装能成功这些模块也都是去掉了的
1.5或更高版本可以不用去掉 --with-iconv-dir 参数!!

1.6及更高版本可以不用去掉,支持就支持aarch64、ppc64le等新的架构。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-4-23 08:38:59 | 显示全部楼层

回复 2# 的帖子


好的,非常感谢您的帮助。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-4-23 20:46:50 | 显示全部楼层

回复 2# 的帖子




根据您的教程,成功安装LNMP。非常感谢。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-3-19 17:51 , Processed in 0.028658 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表