Simply installing CURL to your PHP install without recompiling

Despite the official manual’s dictation, I’ve found several times that, at least with Ubuntu and Debian, you can install cURL without recompiling PHP. To do so is as simple as installing anything else: sudo apt-get install php5-curl With RedHat-type installs, you’re going to want to use yum in place of apt-get. Restart the apache server after completion with the command sudo service apache2 restart Then test it out. You’ll find it’s likely working fine with no need to recompile. The official manual’s page, for the sake of reference is here: http://php.net/manual/en/curl.installation.php