Install Curl on PHP5 Webmin + Debian

Submitted by Anonymous (not verified) on Tue, 11/02/2010 - 20:39

I wrote a script for Twitter with Oauth. After running it I got this error:

Fatal error: Call to undefined function curl_init() in /var/public_html/www

Because Curl wasnt install and couldnt find in php.ini file or in webmin navigation functions.

I wanted to install curl for Apache+PHP on my Linux dedicated server with Debian+Webmin.

This code helped me to install curl:
apt-get clean && apt-get update && apt-get install php5-curl