I'm trying to integrate stripe on my PHP project but I have this error on localhost:
Fatal error: Uncaught Error: Call to undefined function curl_version() in [...]
I'm using easyphp with PHP 7
and in my php.in the line extension=php_curl.dll
is uncommented.
EDIT: i'm looking at error log of apache and i've this:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files (x86)\\EasyPHP-Devserver-17\\eds-binaries\\php\\php713vc14x86x190923224900\\ext\\php_curl.dll' - The specified module could not be found.
Where is the error? What I can do to fix it? thanks
Try following
- Copy libssh2.dll from PHP directory to Windows/system directory
- In php.ini #zend_extension remove (;) front row ;extension=php_curl.dll
- Restart the Apache server.