newism / nsm.addon_updater.ee_addon

Other
21 stars 3 forks source link

Call to undefined function curl_multi_init() #1

Closed aaronbushnell closed 14 years ago

aaronbushnell commented 14 years ago

After I click install I am giving the following error message on any page loading addon updater:

Fatal error: Call to undefined function curl_multi_init() in .../expressionengine/third_party/nsm_addon_updater/libraries/Epicurl.php on line 32

Using EE v2.0.2 Build 20100430

leevigraham commented 14 years ago

Are you using PHP5?

http://php.net/manual/en/function.curl-multi-init.php is only available in 5

aaronbushnell commented 14 years ago

Yup, 5.2.10.

Should "curl" be found in the phpinfo()? I couldn't find it.

leevigraham commented 14 years ago

Yep, your configure command should include: '--with-curl=/usr'

aaronbushnell commented 14 years ago

False alarm then! Thanks for your help.

aroc725 commented 13 years ago

"your configure command should include: '--with-curl=/usr'"

Could someone explain the above? I'm using PHP 5.3.6 under Apache HTTP Server 2.2 and Windows Vista and also getting the same 'undefined function' error message.

brandonlang commented 13 years ago

I just solved this problem by opening up the php.ini file and uncommenting the line that says "extension=php_curl.dll".

Make sure to restart Apache. This fixed the problem for me.