A quick check of my php.ini file and a default one, I spotted the
following differences: -
max_execution_time = 1200 ; Maximum execution time of each script,
in seconds
max_input_time = 1200; Maximum amount of time each script may spend
parsing request data
memory_limit = 256M ; Maximum amount of memory a script may consume
(16MB)
implicit_flush = On
output_buffering = Off
post_max_size = 64M
upload_max_filesize = 64M ; I think this was done to enable an upload
routine to work, not to allow amfphp to run
Also noticed [eAccelerator] block which was commented out, but I think
that was so I could develop on this box, I think it's OK on deployment
(though watch the memory again).
Please note that none of this is fine tuned, I tried it, it worked, I
left it alone! There was enough RAM on the servers in question to run
with these settings... Looking again, those execution times look way to
big...
Regards,
Pete
gotgoose09 wrote:
So you would suggest increasing the memory allocation for scripts in
php.ini? Are there any other settings I should check?
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Pete pe...@... wrote:
As you probably know, NetConnection.Call.BadVersion means that an error
was thrown in the php script, usually a syntax error, but your script
runs fine on other servers.
I would suspect something in the php config on the server is causing
you
trouble.
I have the same problem every time I move to a new server because I try
and transfer too much info and not enough memory is allocated ro
running
php scripts on the server.
Check your php.ini
HTH
Pete
gotgoose09 wrote:
I have been running my Flex applications just fine on my local
computer and a remote server. I have been tasked with transferring
them to a new server. Now whenever I execute a RemoteObject call I get
[RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error
NetConnection.Call.BadVersion: : url:
'https://server/path/to/gateway.php
https://server/path/to/gateway.php
https://server/path/to/gateway.php
https://server/path/to/gateway.php']
I know my PHP code works locally. I know it works on the old server.
Even the AMFPHP service browser does not work and gives me the same
issue. I know that the gateway.php works since I can view it in a web
browser with no errors. I am wondering if the HTTPS is causing the
problem, but I'm not sure.
What can I do to solve this or figure out how to solve this? Any help
would be greatly appreciated!
- Ben