标题:
[求助]
curl https组件的问题
[打印本页]
作者:
memor_y_222
时间:
2015-7-26 17:04
标题:
curl https组件的问题
本帖最后由 memor_y_222 于 2015-7-28 11:06 编辑
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
回复
2#
samly
能说的清楚点吗版主。。对linux不懂。。
作者:
samly
时间:
2015-7-28 16:34
就是你要开https访问,你要搞清楚步骤!先申请证书!然后配置网站,而且之后要经过iptables打开!我现在做教程!放到论坛
作者:
memor_y_222
时间:
2015-7-29 10:45
回复
4#
samly
期待您的教程。。。。。。。。。。。。
作者:
memor_y_222
时间:
2015-7-29 10:48
回复
4#
samly
我问了一些人,他们说是openssl版本不对,请问升级openssl问题可以解决吗
作者:
samly
时间:
2015-7-29 11:49
论坛有发出我的教程
欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/)
Powered by Discuz! 7.2