Php 致命错误:未捕获错误:调用未定义的函数curl\u version()-Localhost Dev

Php 致命错误:未捕获错误:调用未定义的函数curl\u version()-Localhost Dev,php,curl,easyphp,Php,Curl,Easyphp,我试图在我的PHP项目上集成stripe,但在localhost上出现以下错误: Fatal error: Uncaught Error: Call to undefined function curl_version() in [...] 我正在将EasyHP与PHP7一起使用,在我的PHP中,extension=PHP\u curl.dll行未注释 编辑: 我正在查看apache的错误日志,我发现: PHP Warning: PHP Startup: Unable to load dy

我试图在我的PHP项目上集成stripe,但在localhost上出现以下错误:

Fatal error: Uncaught Error: Call to undefined function curl_version() in [...] 
我正在将EasyHP与
PHP7
一起使用,在我的PHP中,
extension=PHP\u curl.dll
行未注释

编辑: 我正在查看apache的错误日志,我发现:

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.
错误在哪里?我能做些什么来修复它?谢谢

请尝试以下内容

  • 将libssh2.dll从PHP目录复制到Windows/system目录
  • 在php.ini中,zend#u扩展名删除(;)前排;extension=php\u curl.dll
  • 重新启动Apache服务器

  • 确保您的实际PHP版本启用了CURL。apache使用哪个版本的PHP?似乎您为不同的PHP版本安装了CURL,而您的apache使用的是不同的PHP版本。这是否回答了您的问题?我在apache中使用的是正确的php版本。我正在查看错误日志,我发现:PHP警告:PHP启动:无法加载动态库'C:\\Program Files(x86)\\EasyHP-Devserver-17\\eds binaries\\PHP\\php713vc14x86x190923224900\\ext\\PHP\u curl.dll'-找不到指定的模块。是的,我已经查看了您的错误消息,您可以查看我的答案吗?