服务器上的php启用了openssl扩展(可以在phpinfo()中看到)
PHP版本5.2.14
/
‘./配置’-前缀=/usr/local/webserver/php‘’-with=/usr/dir 64/mysql‘--mysqli=/usr/bin/mysql_config’-with-iconv-dir=/usr/‘-with-freetype-dir’-with-jpeg-dir‘-with-png-dir’‘。-with-zlib‘’-with-libxml-dir=/usr‘-启用-xml’-禁用-rpath‘-启用-取消-path’-启用-安全-模式‘-启用-bcMath’-启用-shmop‘-启用-sysvsem’-启用-内联-优化‘-with-curl’‘-with-curlwrappers’‘--启用-mbregex’-enable-mbregex‘’-enable-curl‘。“启用-fpm”-启用-fpm‘-启用-cgi-重定向’-启用-mcrypt‘’-with-mcrypt‘’-启用-gd‘-本机-ttf’-with-openssl‘-启用-pcntl’-启用-套接字‘-与-ldap’‘-与-xmlrpc’‘-启用-zip’‘-启用-soap’‘。
php-fpm.log
6月18日10:03:08.882866警告fpm_stdio_child_said(),第167行:子8665 (池默认值)改为stderr:“
6月18日10:03:08.884945通知fpm_got_signal(),第48行:接收SIGCHLD
6月18日10:03:08.885008警告fpm_children_bury(),第215行:子8665 (池默认)从开始33.717855秒后退出信号11 SIGSEGV
6月18日10:03:08.885573通知fpm_children_make(),第352行:子8689 (池默认)启动
6月18日10:03:09.689830警告fpm_stdio_child_said(),第167行:子8606 (池默认)改为stderr:“星期一6月18日10:03:09 2012”225
6月18日10:03:09.690014 [警告] fpm_stdio_child_said(),第167行:子8606 (池默认值)改为stderr:“EACCELERATOR(8606):xxx.php:383在curl_exec()的第130号线上崩溃”
但是当通过HTTPS请求时,nginx返回502 (坏门方式)错误。
如何找出原因?
发布于 2013-11-14 11:19:39
几天前我遇到了一个这样的问题,我的系统是LinuxCentOS6.2,最后我使用了CentOS 5.6,问题解决了,我认为原因是系统版本和openSSL版本不匹配,
我的英语不是很好,但希望它对你有帮助。
发布于 2016-03-08 07:01:18
这是胡言乱语的问题。
确保libcurl支持openssl。
checking for SSL support in libcurl... yes
checking for openssl support in libcurl... yeshttps://stackoverflow.com/questions/11076249
复制相似问题