WDlinux官方论坛's Archiver

memor_y_222 发表于 2015-7-26 17:04

curl https组件的问题

[i=s] 本帖最后由 memor_y_222 于 2015-7-28 11:06 编辑 [/i]

lamp的

php版本是5.2.17

这个问题搜了很多资料,也按照管理员贴的方法升级了,提示OK,但是还是不管用。

file_get_contents https也没问题正常访问接口

就是curl https 页面显示“未收到数据”。

phpinfo页面信息:

编译参数:

'./configure' '--prefix=/www/wdlinux/apache_php-5.2.17' '--with-config-file-path=/www/wdlinux/apache_php-5.2.17/etc' '--with-mysql=/www/wdlinux/mysql' '--with-iconv=/usr' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-discard-path' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-ftp' '--with-apxs2=/www/wdlinux/apache/bin/apxs'

curl信息:

cURL support        enabled
cURL Information        libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2

openssl信息

OpenSSL support        enabled
OpenSSL Version        OpenSSL 1.0.0-fips 29 Mar 2010

除了升级php版本,请问能有其他办法解决吗?求解答

samly 发表于 2015-7-27 13:13

不是升级,而是你的httpd-ssl.conf没有配置!443端口先开!然后配置那个文件,当然最好是要申请证书哦

memor_y_222 发表于 2015-7-28 10:38

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=70776&ptid=39838]2#[/url] [i]samly[/i] [/b]能说的清楚点吗版主。。对linux不懂。。

samly 发表于 2015-7-28 16:34

就是你要开https访问,你要搞清楚步骤!先申请证书!然后配置网站,而且之后要经过iptables打开!我现在做教程!放到论坛

memor_y_222 发表于 2015-7-29 10:45

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=70789&ptid=39838]4#[/url] [i]samly[/i] [/b]期待您的教程。。。。。。。。。。。。

memor_y_222 发表于 2015-7-29 10:48

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=70789&ptid=39838]4#[/url] [i]samly[/i] [/b]我问了一些人,他们说是openssl版本不对,请问升级openssl问题可以解决吗

samly 发表于 2015-7-29 11:49

论坛有发出我的教程

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.