Fatal error: Call to undefined function curl_init()
Posted by: gauravin2007 (136.233.6.---)
Date: July 10, 2018 10:59AM


I am getting the Following error when I am calling curl_init function using a web api in wamp.

I have tried following

- Changed the php.ini (Removed ; from the code).
- Restarted Wamp after doing so.

Still getting the following error

"Fatal error: Call to undefined function curl_init()"

Please advise.

Options: ReplyQuote
Re: Fatal error: Call to undefined function curl_init()
Posted by: RiggsFolly (Moderator)
Date: July 10, 2018 02:34PM


First can you answer these questions so we know which versions yo are using please [forum.wampserver.com]

Second, did you edit the php.ini file manually? If so use the menu links on the wampmanager icon in the System Tray. That will ensure you edit the correct php.ini file

(Windows 10 Pro 64bit) (Wampserver 3.1.8 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote

Sorry, only registered users may post in this forum.