lzq 发表于 2022-7-25 10:43:23

lnmp1.9安装php7.4.30失败

lnmp1.9安装php7.4.30失败


补充内容 (2022-7-25 13:52):
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行157: /home/wwwroot/...

licess 发表于 2022-7-25 12:49:11

猜不出来,问题反馈必读已经明确说明了

lzq 发表于 2022-7-25 14:08:18

make: 离开目录“/home/lnmp1.9/src/nginx-1.22.0”
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行157: /home/wwwroot/default/.user.ini: 权限不够
chmod: 更改"/home/wwwroot/default/.user.ini" 的权限: 不允许的操作
3.9+
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.nju.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.ustc.edu.cn
软件包 iptables-services-1.4.21-35.el7.x86_64 已安装并且是最新版本
无须任何处理
iptables: Saving firewall rules to /etc/sysconfig/iptables: [确定]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Add php-fpm service at system startup...
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
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 发表于 2022-7-26 09:18:00

lzq 发表于 2022-7-25 14:08
make: 离开目录“/home/lnmp1.9/src/nginx-1.22.0”
chown: 正在更改"/home/wwwroot/default/.user.ini" ...

按反馈必读要求上传安装日志

lzq 发表于 2022-7-26 09:41:31

licess 发表于 2022-7-26 09:18
按反馈必读要求上传安装日志

https://tmp.link/f/62df46049a981
这个是安装日志

licess 发表于 2022-7-26 19:55:11

lzq 发表于 2022-7-26 09:41
https://tmp.link/f/62df46049a981
这个是安装日志

/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1362: undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_value':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_server_method'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1677: undefined reference to `SSL_CTX_set_security_level'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_client_method'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1714: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1320: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_num':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_pop_free':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/home/lnmp1.9/src/php-7.4.30/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
/home/lnmp1.9/src/php-7.4.30/ext/ftp/ftp.c:289: undefined reference to `SSL_CTX_set_options'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:347: undefined reference to `libiconv_open'
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:360: undefined reference to `libiconv'
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:374: undefined reference to `libiconv_close'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:63: undefined reference to `libiconv_open'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:70: undefined reference to `libiconv'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'
自行升级系统openssl导致的

lzq 发表于 2022-7-27 11:06:03

licess 发表于 2022-7-26 19:55
自行升级系统openssl导致的

好的,谢谢,目前已经自己编译安装了

hmm 发表于 2022-7-28 18:47:52

我的也是升级了openssl 导致各种问题。 请问你是如何解决的?

hmm 发表于 2022-7-28 18:48:23

lzq 发表于 2022-7-27 11:06
好的,谢谢,目前已经自己编译安装了

编译也不通过,有同样问题,请问是如何解决的? 感激

lzq 发表于 2022-8-17 09:26:35

hmm 发表于 2022-7-28 18:48
编译也不通过,有同样问题,请问是如何解决的? 感激

编译有些依赖这些也是要额外安装和升级的
页: [1]
查看完整版本: lnmp1.9安装php7.4.30失败