I just had the “call to undefined function curl_init” error in PHP and was at a loss how to fix it.
I knew immediately what it was (cURL allows you to read a website via a script) but couldn’t find a way to fix it via google.
Here’s the solution on debian ubuntu php 5
sudo apt-get install php5-curl sudo apache2ctl graceful
Once that was done all was well.
Simple solutions are wonderful aren’t they?
