[Phpwm] cURL problems possibly related to cPanel

sukh virdee sukh_virdee at hotmail.com
Tue Mar 27 13:46:53 UTC 2012



Hi Simon,
Many thanks for that. The POST content and headers are identical, so at least that confirms we're POSTing data. However, doesn't help further very much.

Thanks for your response though.

Regards,
Sukh
Date: Tue, 27 Mar 2012 14:32:50 +0100
From: simon at flipstorm.co.uk
To: phpwm at mailman.lug.org.uk
Subject: Re: [Phpwm] cURL problems possibly related to cPanel


                Try using http://www.postbin.org/ to see the headers that are sent out from the servers. If there's a difference that's not accounted for in the code, then something in the server configuration must be affecting request headers on the way out.
There could still be other issues that aren't so easy to see, but this would probably be a good first step.
                
SimonFlipstormhttp://flipstorm.co.uk
0845 805 575807920 475 400
http://twitter.com/simonhamphttp://twitter.com/FlipstormSent with Sparrow

                 
                On Tuesday, 27 March 2012 at 14:21, sukh virdee wrote:
                
                    



Hi,
I have a crazy issue with not being able to perform a cURL POST to Barclays after I upgraded PHP. The reponse I get back is "The HTTP method received is not valid.  Only POST is accepted."

I have since rolledback PHP, however the problem still persists. I also had cPanel reinstalled which didn't fix the problem. The application is hosted at Rapid Switch who have escalated this to second and third tier support agents who have found no issues with cURL or the server setup.

I moved the application to another server and it works with no issues. I then had another server build from Rapid Switch that had Plesk installed rather than cPanel, and the the script works on there too!

I've googled the error for endless HOURS, with no joy.

Has anyone seen this response before? Any ideas would be very much appreciated.

Regards,
Sukh
 		 	   		  
_______________________________________________Phpwm mailing listWebsite : http://www.phpwm.orgTwitter : http://www.twitter.com/phpwmFacebook: http://www.facebook.com/group.php?gid=2361609907
Post to list: Phpwm at mailman.lug.org.ukArchive etc : https://mailman.lug.org.uk/mailman/listinfo/phpwm
                 
                 
                 
                 
                
                 
                
                    

                
            
_______________________________________________
Phpwm mailing list
Website : http://www.phpwm.org
Twitter : http://www.twitter.com/phpwm
Facebook: http://www.facebook.com/group.php?gid=2361609907

Post to list: Phpwm at mailman.lug.org.uk
Archive etc : https://mailman.lug.org.uk/mailman/listinfo/phpwm 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/phpwm/attachments/20120327/4f5aa5bb/attachment.htm>


More information about the Phpwm mailing list