magento installation error "PHP extension "curl" must be loaded"

35,920

Solution 1

Uncomment the following line: extension=php_curl.dll in the php.ini configuration file of your XAMPP/WAMP server.

Solution 2

If you still can't resolve it even after uncommenting extension=php_curl.dll, here's a solution:

  1. Click on wamp icon.
  2. Navigate to php > php extensions.
  3. Enable php_curl in the extension list.

Solution 3

There is PHP module php_curl, you need to enable it if you are installing it on local system. This setting is in php.ini file. If you are on shared server, need to contact your Hosting Company. And if you have full server access just enable it.

Solution 4

enable the curl extensions in the folowing -- php-pear.ini, php.ini, and php5.ini in the php directory, and the php.ini in the apache/bin directory

By enabling i mean, uncomment the lines

And do not forget to restart Xamp server

Solution 5

In Ubuntu 16.04 default PHP version is 7.0, if you want to use different version then you need to install PHP package according to PHP version:

First of all Install CURL using this command:-

sudo apt-get install curl 

After that using these commands according to your PHP versions:-

1-> PHP 7.0: sudo apt-get install php7.0-curl    
2-> PHP 7.1: sudo apt-get install php7.1-curl    
3-> PHP 7.2: sudo apt-get install php7.2-curl    
4-> PHP 5.5: sudo apt-get install php5.5-curl
5-> PHP 5.6: sudo apt-get install php5.6-curl
Share:
35,920
DRAJI
Author by

DRAJI

We can't do anything without doing anything! We can do anything with doing something!

Updated on May 23, 2020

Comments

  • DRAJI
    DRAJI almost 4 years

    When i have installed, it shows the following error

        "PHP extension "curl" must be loaded." 
         Please set all required settings before clicking Continue
    

    after the Localization step (ie.in configuration step)

    i cant know how to fix it? plz help me guys! thanks in advance

  • DRAJI
    DRAJI almost 11 years
    Thanks a lot for ur help, but i dont know how to enable it?
  • DRAJI
    DRAJI almost 11 years
    Thanks a lot for ur guide guys! i have enabled this line "extension=php_curl.dll" in php configuration file in the php directory, Now it works well, thanks for ur helps once again
  • blmage
    blmage almost 11 years
    @DRAJI Remember to accept answers when they actually have helped you
  • Mukesh
    Mukesh almost 11 years
    @DRAJI To accep the answer click on right symbol in front of the answer.
  • Sajeev
    Sajeev over 9 years
    How can I reach php extensions?
  • Anurag Prashant
    Anurag Prashant over 9 years
    Don't forget to restart apache server.
  • Chiragit007
    Chiragit007 over 9 years
    Of course restart apache after changing the file contents.
  • Line
    Line about 7 years
    @Chiragit007: add LAMP... or maybe just remove XAMPP/WAMP... php.ini is just relevant.