[英]wso2, wsf-php segmentation fault on script shut down
I'm trying to use WSO2 Web Services Framework for PHP 2.1.0 on Kubuntu 11.04 with php 5.3.5-1ubuntu7.7我正在尝试在 Kubuntu 11.04 上使用 WSO2 Web 服务框架 PHP 2.1.0 和 php 5.3.5-1ubuntu7.7
I have minimal php installation, xml, xslt, lib-ssl, libaxis2c libraries:我有最小的 php 安装、883812976388、xslt、lib-ssl、libaxis2c 库:
apt-get install php5 php5-dev php5-xsl libxml2-dev libssl-dev libaxis2c
Everything went fine -- compiled, and installed, added to include path.一切顺利——编译、安装、添加到包含路径。 I see the library in php -i output:
我在 php -i output 中看到图书馆:
wsf
wsf support => enabled
wsf version => 2.1.0
Directive => Local Value => Master Value
wsf.attachment_cache_dir => /tmp => /tmp
wsf.enable_attachment_caching => 0 => 0
wsf.home => /usr/lib/php5/20090626/wsf_c => /usr/lib/php5/20090626/wsf_c
wsf.log_level => 4 => 4
wsf.log_path => /tmp => /tmp
wsf.rm_db_dir => /tmp => /tmp
So I've tried to access simple web-service: http://www.w3schools.com/webservices/tempconvert.asmx?wsdl所以我尝试访问简单的网络服务: http://www.w3schools.com/webservices/tempconvert.asmx?wsdl
Like this:像这样:
$client = new WSClient(array(
'wsdl'=>'http://www.w3schools.com/webservices/tempconvert.asmx?wsdl'
));
$proxy = $client->getProxy();
$response = $proxy->CelsiusToFahrenheit(array('Celsius'=>11));
Script seems to run fine -- got wsdl, connected, parse response and I can print_r the response data:脚本似乎运行良好——得到 wsdl,已连接,解析响应,我可以打印响应数据:
Array
(
[CelsiusToFahrenheitResult] => 51.8
)
Then script trying to finish and falls with segmentation fault:然后脚本试图完成并因分段错误而失败:
[Fri Apr 6 15:42:35 2012] [info] [rampart] rampart_mod shutdown
[Fri Apr 6 15:42:35 2012] [info] [rahas] Rahas module shutdown
Segmentation fault
If I'll comment the soap call, then segmentations fault will disappear.如果我对 soap 调用发表评论,则分段错误将消失。
Is there a way to eliminate this segfault?有没有办法消除这个段错误? Thanks.
谢谢。
Which version of SSL are you using?您使用的是哪个版本的 SSL? I've been trying to figure this out for myself as well and come across this https://wso2.org/jira/browse/WSFPHP-467
我也一直在尝试自己解决这个问题并遇到这个https://wso2.org/jira/browse/WSFPHP-467
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.