Sonhja
Sonhja

Reputation: 8458

PHP extension "curl" must be loaded

I'm trying to install a Magento on my server, and when I get to "Configuration", the installation launches: PHP extension "curl" must be loaded.

I've checked my php.ini, and extension=php_curl.dll is not commented. For both Apache and PHP folders. I also checked my Wamp manager, and it looks like this:

My PHP info.

So I guess that my php_curl is working fine... But I still get the same message when I install Magento:

My Magento installation.

Any idea on what's wrong?

Upvotes: 9

Views: 19165

Answers (3)

René Höhle
René Höhle

Reputation: 27325

I had the same problem. The mod_curl extension in wamp has a bug.

You can replace it with a newer version. I don't know which PHP-Version you use but here you can download a newer version. Download a TS (TheadSafe) version of the module and replace it with your existing curl module.

http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

And a helpfull post:

http://forum.wampserver.com/read.php?2,85716

Upvotes: 15

minit patil
minit patil

Reputation: 1

You have to modify the php.ini files in your xampp folder. Three files in three different places need to be changed.

Follow the following steps to enable curl library with XAMPP in Windows:

Step 1:

Browse and open the following 3 files

C:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini

Step 2:

Uncomment the following line in your php.ini file by removing the semicolon (;).

;extension=php_curl.dll

After that it will look something like something below-

extension=php_curl.dll

Step 3:

Restart your Apache server.

Step 4:

Check your phpinfo() to see whether curl has properly enabled or not.

Enjoy using curl() library.

Upvotes: 0

Afroz Alam
Afroz Alam

Reputation: 874

Replaced the old php_curl.dll with the new one in \wamp\bin\php\php5.4.3\ext\ by downloading from http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ . Now its working. It is the error with recent wamp installation package.

Upvotes: 0

Related Questions