WordPress php curl support

Solution:

You can try this (if on debian/ubuntu):

$ sudo apt-get install php5-curl
$ sudo /etc/init.d/apache2 restart

Otherwise, read the install notes for php curl support. It states:

“To use PHP’s cURL support you must also compile PHP –with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories.”