VPS侦探论坛

 找回密码
 注册
查看: 997|回复: 2

LNMP1.9安装多版本PHP失败

[复制链接]
发表于 2023-5-20 16:44:22 | 显示全部楼层 |阅读模式

系统版本:Debian 9 x64


目前在用LNMP中的PHP版本5.6,正常使用中,新增安装多版本PHP7.4失败,以下是log文件,请教如何解决,谢谢。

https://t.wss.ink/f/b960cwmclia
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-5-21 09:06:22 | 显示全部楼层


/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
ext/curl/.libs/interface.o: In function `build_mime_structure_from_hash':
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2280: undefined reference to `curl_mime_addpart'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2286: undefined reference to `curl_mime_name'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2287: undefined reference to `curl_mime_data'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2246: undefined reference to `curl_mime_addpart'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2251: undefined reference to `curl_mime_name'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2178: undefined reference to `curl_mime_init'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2252: undefined reference to `curl_mime_data_cb'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2253: undefined reference to `curl_mime_filename'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2254: undefined reference to `curl_mime_type'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2280: undefined reference to `curl_mime_addpart'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2286: undefined reference to `curl_mime_name'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2287: undefined reference to `curl_mime_data'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2246: undefined reference to `curl_mime_addpart'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2251: undefined reference to `curl_mime_name'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2178: undefined reference to `curl_mime_init'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2252: undefined reference to `curl_mime_data_cb'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2253: undefined reference to `curl_mime_filename'
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:2254: undefined reference to `curl_mime_type'
ext/curl/.libs/interface.o: In function `curl_free_post':
/root/lnmp1.9/src/php-7.4.30/ext/curl/interface.c:1789: undefined reference to `curl_mime_free'
collect2: error: ld returned 1 exit status
Makefile:303: recipe for target 'sapi/fpm/php-fpm' failed

你这个大概率是自行升级过系统的openssl、curl造成的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-5-22 11:03:51 | 显示全部楼层

licess 发表于 2023-5-21 09:06
你这个大概率是自行升级过系统的openssl、curl造成的

感谢回复,请问我应该怎么操作才可以正常安排,可以指个方向吗?新手一枚,感谢感谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-23 19:33 , Processed in 0.026617 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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