Magento Wamp Error: PHP Extension “curl” must be loaded.

by kevinw on January 5, 2011

So I was installing Magento locally under WAMP configuration when I ran into a problem. The error during isntallation said “PHP extension “curl” must be loaded.”

If you are trying to install Magento on your localhost with wamp and also have this problem, here is the solution.

  1. Left-Click on the wamp icon in your taskbar
  2. Navigate to PHP
  3. Left-Click php.ini
  4. Next press “Ctrl + F” to search the document and look for “curl” in this document.
    Find the line saying “;extension=php_curl.dll”
  5. Uncomment this line of code by removing the semicolon ;
  6. Save/close the file.
  7. Restart all WAMP services.
  8. Refresh Magento installation page and viola.

Let me know if this helps anyone.

I ran into this little problem after watching Easy E-Commerce With Magento tut over at NetTuts.

I received this error during the installation process: PHP Extension “mcrypt” must be loaded & PHP Extension “curl” must be loaded.

{ 15 comments… read them below or add one }

Sanjeev February 1, 2011 at 12:36 pm

Thank you so much.

Greates

It’s really appreciated.

again thanks

Reply

Joe March 20, 2011 at 9:41 am

Thanks man I am just starting with WAMP and Magento this helped with my issue immediately.

Reply

harish April 7, 2011 at 12:20 am

Thank’s for your help my problem has been cleared during installation of magneto.

this one helped me very clearly.

Reply

harish April 7, 2011 at 12:23 am

thanks for ur help .

Reply

frank June 20, 2011 at 2:12 pm

Awesome dude….

Reply

Kailash June 24, 2011 at 5:33 am

In configuration page i got a error like this
“Please enter a valid URL. Protocol is required (http://, https:// or ftp://)”
plz help me !!

thanx

Reply

kevinw November 13, 2011 at 11:58 pm

Hi Kailash, sorry to see this so late but I will reply for others. Your error is because Magento doesn’t consider the local server url as a valid url. You must remove the validation for the section.
First, Open app\design\install\default\default\template\install\config.phtml
Second, find the textbox where the base url is entered. (around line 85 with name ‘config[unsecure_base_url]‘)
Third, remove ‘validate-url’ from its class and save file
You should now be able to continue the installation.

Reply

Shapia September 2, 2011 at 1:28 pm

Thanks, that really helped. Appreciate your input on Magento installation.

Reply

Danish October 1, 2011 at 5:58 am

Thanks…it works..appreciated!!

Reply

Feroz October 7, 2011 at 8:00 am

Thnx, it works

Reply

web development services November 21, 2011 at 7:06 am

Thanx so muxh for this worked for me really nice..

Reply

Josh November 30, 2011 at 5:17 pm

Thanks Kevin. This worked immediately.

Thanks for posting!

Reply

kevinw November 30, 2011 at 7:37 pm

Glad you had success, love the Room 316 website btw.

Reply

Fazil December 3, 2011 at 9:14 am

Thank you so much…..

Reply

Vinay Pandit December 12, 2011 at 6:33 am

Thanks, that really helped. Appreciate your input on Magento installation.
Thanks

Reply

Leave a Comment

 

Previous post:

Next post: