打印

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

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

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


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



lnmp-install.log见附件。麻烦军哥看看是什么问题。
附件: 您所在的用户组无法下载或查看附件

TOP

对了,我选的都是默认选项。

TOP

安装过程中提示内存不足
-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

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP