The Developer Day | Staying Curious

TAG | port

May/08

20

PHP SoapClient proxy port problem

We couldn’t get soapclient with proxy working on our local machines. It was very lucky of me to find the following comment on php.net:

I kept having a problem using an HTTP proxy with SOAP. The proxy_port parameter has to be an integer, ie. "proxy_port" => "80" won't work, you'll have to use "proxy_port" => 80.

Incredibly hard to catch bugs like these. It’s probably a bug that should get reported. It would be nice to have a note in the documentation to warn other developers from experiencing the same problem.

, , , , , Hide

Find it!

Theme Design by devolux.org