国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

CentOS下現(xiàn)將NSS轉(zhuǎn)換成過程

2016-12-07 22:15:45 4897

先查看curl版本會(huì)發(fā)現(xiàn)并不是openssl

curl -V

libcurl/7.19.7 NSS/3.35 zlib/1.2.3

 

因?yàn)閏entos 6.5(我是用的版本,其他版本沒有測試)默認(rèn)安裝curl是用ssl的版本是NSS

所以需要對(duì)Curl進(jìn)行重新編譯

先去官方下載 http://www.tjdsmy.cn/download/archeology/ 

可以同樣下載是7.19.7版本,也可以下載更高版本,進(jìn)行重新編譯,這里我下載的是7.35.0版本。

 

./configure --prefix=/usr --without-nss --with-ssl

make && make install

 

最后不要忘記執(zhí)行

// ldconfig

echo "/usr/local/lib" >> /etc/ld.so.conf && ldconfig

 

再次查看curl版本

curl -V

curl 7.35.0 (x86_64-unknown-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1e zlib/1.2.3

Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp 

Features: IPv6 Largefile NTLM NTLM_WB SSL libz 

 

最后重新啟動(dòng)php-fpm nginx

service php-fpm restart

service nginx restart


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: