VPS侦探论坛

 找回密码
 注册
查看: 3514|回复: 1

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

[复制链接]
发表于 2017-7-3 15:18:08 | 显示全部楼层 |阅读模式

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.

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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: *** [ext/openssl/openssl.lo] 错误 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有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 19:18 , Processed in 0.026151 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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