gift 发表于 2023-5-20 16:44:22

LNMP1.9安装多版本PHP失败

系统版本:Debian 9 x64


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

https://t.wss.ink/f/b960cwmclia

licess 发表于 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造成的

gift 发表于 2023-5-22 11:03:51

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

感谢回复,请问我应该怎么操作才可以正常安排,可以指个方向吗?新手一枚,感谢感谢。
页: [1]
查看完整版本: LNMP1.9安装多版本PHP失败