ALL

  Enable curl in PHP 8.1 with WAMP

Previous, we have completed installation of PHP 8 with WAMP(upgrade from PHP 5 to PHP 8). That was working fine until recently we noticed that curl_init() was not working during some code migration from PHP 5 to PHP 8, by checking, we found that the curl extension was not loaded correctly though the extension was enabled in php.ini.In this post, we would show how to enable curl in PHP 8 with WAMP. The PHP version we are using is PHP 8.1.31.To enable curl in PHP 8, we need to modify php.ini file, try to search for curl in php.ini, you should confirm that the curl extension is enabled.extension=...

  123      0       WAMP SOLUTION CURL UNDEFINED TROUBLESHOOTING PHP 8 CURL_INIT