0

I need to make work CURL IN WAMP

Running cmd.exe, I am able to use curl

 curl -L http://www.google.com

But when using my website locally (using WAMP, PHP Version 5.3.13) even with enabling extension for curl.

I get an error:

Fatal error: Call to undefined function curl_init()

My PC is a Windows 7 64 bit..Any ideas on how to solve it?

5
  • What does your phpInfo() say? Is there a section with heading curl? You need to have cURL support enabled in PHP. Commented Apr 2, 2013 at 13:51
  • Are you sure you have enabled curl & restart your Apache ? Commented Apr 2, 2013 at 13:52
  • section with heading curl is not present when I do phpinfo(). In Wamp under PHP and php.ini extension=php_curl.dll is un commented ... any idea? Commented Apr 2, 2013 at 13:53
  • yes apache restarted and wamp services restarted... same problem Commented Apr 2, 2013 at 14:01
  • yes I have restarted wamp... SCREAM: Error suppression ignored for and Fatal error: Call to undefined function curl_init() i Commented Apr 2, 2013 at 14:11

2 Answers 2

2

Go to www.anindya.com download *php_curl-5.4.3-VC9-x64.zip* under "Fixed curl extensions:" and replace the php_curl.dll in ext folder.

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

Sign up to request clarification or add additional context in comments.

1 Comment

This approach worked checking with CMD, but no in WWW folder for WAMP
0

I solved the problem installing WAMP 32 bit version on WIN 7 64BIT, in this way CURL worked.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.