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.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <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.