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

Hi,

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

Hi,

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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 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.