对于lanmp/wdcp不支持微博/QQ登录(https)的问题的解决办法
原因是,apache里没有对SSL的支持,只要重新编译下apache就可以(lamp/lnamp版环境)如下执行可以完成(针对httpd-2.2.22版本)
wget [url=http://down.wdlinux.cn/in/http2222_ssl.sh]http://down.wdlinux.cn/in/http2222_ssl.sh[/url]
sh http2222_ssl.sh
没有出错安装完成就可以了
如果是lnmp版的环境,则使用下面这个试试(针对默认的php-5.2.17版本)
wget [url=http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh]http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh[/url]
sh lnmp_php_ssl_5217.sh
如果有错,把错误信息贴上来
以上是针对httpd-2.2.22版本的,如果不是这个版本的,可以改成相应的版本号就可以 感激 纠结了几个月的问题终于解决了 之前没有解决问题前内存耗费了400 现在解决之后 内存不到200 真是太好了 老大,像我这种情况能通过你说的方法解决吗?我觉得有点类似啊!
[url]http://www.wdlinux.cn/bbs/viewthread.php?tid=3664&extra=[/url]
还有,怎么看httpd的版本号?我用httpd -V 没反应啊~我的系统是centos 5 在线等老大的回复,我经不起折腾了,等确认了再去安装。折腾了好几宿了,现在还昏昏沉沉的。:( 应该是这个原因
可以/www/wdlinux/apache/bin/httpd -v
这样查看 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=13851&ptid=3657]6#[/url] [i]admin[/i] [/b]
谢谢老大!老大咱们群号是多少啊?我想加入组织! 卡了,很慢。我可以退了重新输入一次安装命令吗? httpd-2.2.22/modules/proxy/mod_proxy_ftp.dep
ht
卡在这里很久了。。。 我的是 nginx 也无法支持 https, 要如何解决啊?
curl 打开 http 是正常的, 但打开 https 就502错误. 重新编译下 nginx试试 太感谢管理员啦 :victory: [quote]我的是 nginx 也无法支持 https, 要如何解决啊?
curl 打开 http 是正常的, 但打开 https 就502错误.
[size=2][color=#999999]dake123 发表于 2012-10-15 00:50[/color] [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=14541&ptid=3657][img]http://www.wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]
自己搞定了。 不是nginx的问题, 而是php问题,因为如果用php cli 去运行 curl https 也是同样错误, 提示段错误。
后来自己重新编译 openssl-1.0.1c, 再新编译下PHP, 并指定openssl目录就好了。[code]openssl 编译 ./config --prefix=/usr/local/openssl
PHP 编译 --with-openssl=/usr/local/openssl[/code] openssl的版本原因? [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=15091&ptid=3657]14#[/url] [i]admin[/i] [/b]
是的, 我有两台机器, 一台是64位,一台32位, 安装的都是 centos 5.8
安装的是lanmp v2.4中的 lnmp, 都出现php无法处理https连接。 通过web访问提示502错误, 通过php cli运行提示段错误。 感谢大哥啊 ,我还以为是qq平台注册问题,终于解决了!!!!!! 安装完还是502 这个很好,能解决问题 502 Bad Gateway
--------------------------------------------------------------------------------
nginx/1.0.15怎么回事啊 [quote]原因是,apache里没有对SSL的支持,只要重新编译下apache就可以
如下执行可以完成
wget
sh http2222_ssl. ...
[size=2][color=#999999]admin 发表于 2012-9-27 22:56[/color] [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=13827&ptid=3657][img]http://www.wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]
NGINX引擎也是这样去解决么? [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=13827&ptid=3657]1#[/url] [i]admin[/i] [/b]
搞了一天都没搞好,晚上逛逛论坛,突然看到了,thank you so much!!! 记好 --with-openssl=/usr/local/openssl http://cn2.php.net/get/php-5.2.17.tar.gz/from/this/mirror /www/wdlinux/php/bin/phpize ./configure --with-openssl=/usr/local/openssl
make;make install --with-php-config=/www/wdlinux/php/bin/php-config 做记号呢 做记号呢 做记号呢 做记号呢 ./configure --with-openssl-dir=/usr/local/openssl --with-openssl 完美解决,多谢 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=13827&ptid=3657]1#[/url] [i]admin[/i] [/b]
终于解决了 谢谢老大 哈哈。