安装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见附件。麻烦军哥看看是什么问题。
对了,我选的都是默认选项。 安装过程中提示内存不足
-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: *** Error 1
被kill掉了,建议按 https://www.vpser.net/opt/vps-add-swap.html 添加swap
页:
[1]