Problem

CURL is a package for command line transferring data tool with URL multiple protocol. Some php software uses it to get information. However this package is not include in the standard Ubuntu 9.10 package. There are several packages available. However, if you have problem with your LAMP server, then you should install the package for php.

Solution

  1. Install php5-curl with: sudo apt-get install php5-curlInstall php5-Curl Package
  2. Restart Apache server with sudo /etc/init.d/apache2 restart/.
    Restart Apache server with sudo /etc/init.d/apache2 restart
  3. That’s it. If you load up phpinfo.php, you can find the curl is supported now. cURL supported in PHP

Reference