Bonjour à tous,

Je rencontre un problème à l’accès de Amfphp.
j'ai un script php hébergé sur un Windows server 2008 R2 avec php 5.3.23 configuré en Fast CGI

Mon remoteObject est défini comme suit :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
<s:RemoteObject id="services" destination="amfphp" source="scriptphp" >
			<s:method name="sayHello"  result="data_resultHandler(event)"  fault="faultHandler(event)"/>
		</s:RemoteObject>
et mon services-config.xml :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
	<services>
		<service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
			<destination id="amfphp">
				<channels>
					<channel ref="my-amfphp"/>
				</channels>
				<properties>
					<source>*</source>
				</properties>
			</destination>
		</service>
	</services>
	<channels>
		<channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel" >
			<endpoint uri="http://urlserver/test/gateway.php" class="flex.messaging.endpoints.AMFEndpoint" />
		</channel-definition>
	</channels>
</services-config>
Le problème est que j'ai une erreur 500 au retour du callback de Amfphp :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
[FaultEvent fault=[RPC Fault faultString="Echec de l'envoi" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://urlserver/test/gateway.php'"] messageId="01C37AF2-A3E7-4CEA-A727-EF4EF0FA5191" type="fault" bubbles=false cancelable=true eventPhase=2]
Quelqu'un pourrait t'il m'aider et me dire la ou j'ai merde dans la configuration ?
Merci d'avance.

[EDIT]note pour plus tard : installer php en ISAPI et non pas en fast cgi [/EDIT]