Server requirements for HttpSocket


What are the server requirements for HttpSocket to work properly? for example does it requires allow_url_fopen, curl or what?

I have read the requirements docs and didn’t find any information about that.


@markstory @ADmad Can you help me on this?

What version of CakePHP are you using? In 3.x you will need allow_url_fopen. There isn’t any support for cURL just yet. But that is planned for a future release.

Thank you and what about 2.x?

Also should you mention that on documentation

Likely the same, I’ve not fiddled with the various settings though to see which ones break HttpSocket.

Where would you expect to find that information? If you have time a pull request to update the docs would be great :smile:

I’ll create a PR to update the docs about this.