高手指点一下,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 ...
[0;32mNginx: OK[0m
[0;32mMySQL: OK[0m
[0;31mError: PHP install failed.[0m
[0;31mSorry, Failed to install LNMP![0m
[0;31mPlease visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.[0m
[0;31mYou can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.[0m /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]