liuhaibin 发表于 2017-7-3 15:18:08

高手指点一下,lnmp 安装问题 Error: PHP install failed.

iptables: Saving firewall rules to /etc/sysconfig/iptables: [确定]

Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
Starting MySQL.. SUCCESS!
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm:行57: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
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.

licess 发表于 2017-7-3 20:25:32

/root/lnmp1.4-full/src/php-5.5.38/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/root/lnmp1.4-full/src/php-5.5.38/ext/openssl/openssl.c:43:25: 致命错误:openssl/evp.h:没有那个文件或目录
#include <openssl/evp.h>
                         ^
编译中断。
make: *** 错误 1
/bin/sh /root/lnmp1.4-full/src/php-5.5.38/libtool --silent --preserve-dup-deps --mode=compile cc-Iext/openssl/ -I/root/lnmp1.4-full/src/php-5.5.38/ext/openssl/ -DPHP_ATOM_INC -I/root/lnmp1.4-full/src/php-5.5.38/include -I/root/lnmp1.4-full/src/php-5.5.38/main -I/root/lnmp1.4-full/src/php-5.5.38 -I/root/lnmp1.4-full/src/php-5.5.38/ext/date/lib -I/root/lnmp1.4-full/src/php-5.5.38/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/include -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.4-full/src/php-5.5.38/ext/mbstring/oniguruma -I/root/lnmp1.4-full/src/php-5.5.38/ext/mbstring/libmbfl -I/root/lnmp1.4-full/src/php-5.5.38/ext/mbstring/libmbfl/mbfl -I/root/lnmp1.4-full/src/php-5.5.38/ext/sqlite3/libsqlite -I/root/lnmp1.4-full/src/php-5.5.38/TSRM -I/root/lnmp1.4-full/src/php-5.5.38/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden-c /root/lnmp1.4-full/src/php-5.5.38/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/root/lnmp1.4-full/src/php-5.5.38/ext/openssl/openssl.c:43:25: 致命错误:openssl/evp.h:没有那个文件或目录
#include <openssl/evp.h>
                         ^
编译中断。openssl有问题
页: [1]
查看完整版本: 高手指点一下,lnmp 安装问题 Error: PHP install failed.