Installed php but didnt add the -curl option? Here’s the quick fix.

So you have installed php have a development server running, and BAM! … a script has informed you that you require cURL support for it to run… dammit!  You forgot to install cURL didnt you?

Never mind, the fix is simple:

1.Install cURL

sudo apt-get install php5-curl

2.Edit your php.ini. If you don’t know where it is, type

locate php.ini

Linux knows where it keeps everything!

it’s most likely in /etc/php5/apache2/

sudo vim or nano that shiz!

Find Extensions in the php.ini – for no other reason than to keep the script pretty!
add the line

extension=curl.so

3.Restart Apache

sudo service apache2 restart 

BOOM BIG DADDY! cURL support is now loaded.
Pleasure 🙂


Comments

2 responses to “Installed php but didnt add the -curl option? Here’s the quick fix.”

  1. spara pengar Avatar
    spara pengar

    Hi! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having problems finding one? Thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *