VPS侦探论坛

 找回密码
 注册
查看: 2812|回复: 2

安装LNMP1.5,最后PHP安装失败

[复制链接]
发表于 2018-12-25 11:08:28 | 显示全部楼层 |阅读模式

vultr 512M的小鸡,Ubuntu 18.10 x64系统。。已经安装了酸酸乳服务端,直接安装LNMP。按照步骤操作的,前面都顺利,到最后一步时,nginx mysql安装成功了,但PHP安装失败了。提示如下:


  1. ============================Install PHPMyAdmin=================================
  2. ============================phpMyAdmin install completed=======================
  3. include/end.sh: line 22: /etc/network/if-post-down.d/iptables: No such file or directory
  4. chmod: cannot access '/etc/network/if-post-down.d/iptables': No such file or directory
  5. Add Startup and Starting LNMP...
  6. Add nginx service at system startup...
  7. Starting nginx... nginx (pid 519 518) already running.
  8. Add mysql service at system startup...
  9. Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
  10. See "systemctl status mysql.service" and "journalctl -xe" for details.
  11. failed!
  12. Add php-fpm service at system startup...
  13. Starting php-fpm /etc/init.d/php-fpm: 57: /etc/init.d/php-fpm: /usr/local/php/sbin/php-fpm: not found
  14. failed
  15. ============================== Check install ==============================
  16. Checking ...
  17. Nginx: OK
  18. MySQL: OK
  19. Error: PHP install failed.
  20. Sorry, Failed to install LNMP!
  21. Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
  22. You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
复制代码




lnmp-install.log见附件。麻烦军哥看看是什么问题。

本帖子中包含更多资源

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

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


对了,我选的都是默认选项。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-12-25 13:15:26 | 显示全部楼层

安装过程中提示内存不足
-I/root/lnmp1.5/src/php-5.6.36/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /root/lnmp1.5/src/php-5.6.36/ext/sqlite3/libsqlite/sqlite3.c -o ext/sqlite3/libsqlite/sqlite3.lo
cc: fatal error: Killed signal terminated program as
compilation terminated.
make: *** [Makefile:674: ext/sqlite3/libsqlite/sqlite3.lo] Error 1
被kill掉了,建议按 https://www.vpser.net/opt/vps-add-swap.html 添加swap
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-27 15:42 , Processed in 0.026646 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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