CURL Loads Very Slow & Returns Blank
I asked this question in the IRC chat last night, and wasn't able to solve it. If anyone there who was assisting me is reading this, I had to run out unexpectedly, so I apologize for leaving.
The title pretty much sums up the issue, CURL takes at least 20 seconds to load the page (testing with the twitter API) and then returns a blank result, or when we're showing curl errors, it shows a timeout error. I have also tested curl in the command line, where it works fine. An example simple CURL call to the twitter API can be found at
Also, the exact same code hosted on my old server (from a different company) can be seen here
And here is a link to the actual php code:
Relating to the CURL slowness, I've had a problem similar to that before, although I don't remember how it was solved other than something to do with reverse DNS. Our resolv.conf file is the exact file recommended by Linode support and the reverse dns for our server's main IP is set to the hostname under the "remote access" tab in the Linode manager.
Thanks in advance for the help!