[Phpwm] cURL problems possibly related to cPanel

Simon Hamp simon at flipstorm.co.uk
Tue Mar 27 13:33:04 UTC 2012

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. 


0845 805 5758
07920 475 400

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

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 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 (mailto: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/e50989be/attachment.htm>

More information about the Phpwm mailing list