Reputation: 2142
I'm using WAMP and PHP 8.4
I got the error:
Call to undefined function curl_init()
I activated curl in PHP.ini and also WAMP shows that it's active BUT in phpinfo curl does not exist, means the extension curl not loaded.
The file php_curl.dll
exists in the ext folder and the extension folder is well assigned (c:/wamp/bin/php/php8.4.3/ext/)
PHP.ini:
extension=curl
And WAMP:
I also downloaded PHP 8.4 from the php website to validate the php_curl.dll
and it was the same as WAMP.
I restarted the apache
This issue is easy to regenerate, install the latest version of WAMP with PHP 8.4, and run a curl_init() command in PHP. You will have this error
Upvotes: -3
Views: 59