Reputation: 8685
PHP Curl is not working on Windows and APACHE. I get the following error:
Fatal error: Call to undefined function curl_init() in C:\Apache24...
What should I do?
Curl is installed but it is not showing up in phpinfo.
Upvotes: 1
Views: 1433
Reputation: 4261
Had the same issue recently on my Windows 10 Pro notebook. Fixed it by just installing the latest Apache for Windows.
Upvotes: 0
Reputation: 39443
For windows 7
Some users have faced similar problem with easyphp
. It has a solution for easyphp that I used once.
1) Installing/copying the bundle into D:/
drive instead of C:/
(assuming here it has windows).
2) Save a copy of your php.ini
file at C:/Windows
folder as well. Also, you can check which ini file is loaded by your php from the phpinfo()
.
Now restart your apache, and it may work for you too.
Upvotes: 0
Reputation: 3657
Enable extension php_curl
in php.ini
extension=php_curl.dll
This solution is proposed based on Wamp. In other systems it may very. See @Mike's comment below this answer.
Upvotes: 1