AMFPHP + PHP 5.3.1

本文记录了作者在尝试使用PHP5.3.1与AMFPHP1.9结合时遇到的兼容性错误,并详细描述了错误表现及在Apache错误日志中发现的问题。最终通过将PHP版本降级到5.2系列解决了这一问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I don’t get PHP 5.3.1 working with amfphp 1.9.

I always got the following error:
(mx.rpc::Fault)#0
errorID = 0
faultCode = “Client.Error.MessageSend”
faultDetail = “Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed”
faultString = “Send failed”
message = “faultCode:Client.Error.MessageSend faultString:’Send failed’ faultDetail:’Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed’”
name = “Error”
rootCause = (Object)#1
code = “NetConnection.Call.Failed”
description = “HTTP: Failed”
details = “http://localhost/amfphp/gateway.php”
level = “error”

I don’t know what happens. And when I look into the apache error.log, I got:
[Mon Mar 22 20:53:05 2010] [error] [client 127.0.0.1] File does not exist: D:/Program Files/Apache/htdocs/amfphp/browser/history.htm, referer:http://localhost/amfphp/browser/
[Mon Mar 22 20:53:05 2010] [error] [client 127.0.0.1] File does not exist: D:/Program Files/Apache/htdocs/favicon.ico

After I googling, there is no good solution on this.  Anything relevant for the root cause?
And meanwhile, I am using: Windows XP with SP3 and Apache 2.2.1

Solution finally identified as follows:

- Downgrade the PHP version to 5.2.X and then it works perfectly.

- PHP Version 5.3.x seems not compatible with Amfphp 1.9.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值