VPS侦探论坛

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

lnmp1.6 安装 php5.6 失败

[复制链接]
发表于 2019-6-14 08:44:10 | 显示全部楼层 |阅读模式

CPU model            : QEMU Virtual CPU version (cpu64-rhel6)
Number of cores      : 1
CPU frequency        : 3407.984 MHz
Total size of Disk   : 4.9 GB (1.9 GB Used)
Total amount of Mem  : 230 MB (205 MB Used)
Total amount of Swap : 63 MB (14 MB Used)
System uptime        : 1 days, 13 hour 52 min
Load average         : 0.00, 0.18, 0.43
OS                   : CentOS 6.10
Arch                 : x86_64 (64 Bit)
Kernel               : 4.17.14-1.el6.elrepo.x86_64

刚才安装 ngx+php,最后提示 php 失败

log 已上传,http://tmp.link/f/5d02eb67a51f7

帮忙排查一下,谢谢!

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-6-14 13:36:09 | 显示全部楼层


ext/fileinfo/libmagic/apprentice.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1

早就说过了fileinfo对内存要求至少1G或512MB+1G swap以上才行,你这配置看到是不行的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-6-15 02:07:05 | 显示全部楼层

感谢大佬解答,小白受益匪浅。

去掉 fileinfo,安装成功。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-6-15 02:07:15 | 显示全部楼层



感谢大佬解答,小白受益匪浅。

去掉 fileinfo,安装成功。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 17:24 , Processed in 0.026564 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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