致命错误:未被捕获的错误:调用未定义的函数curl_version()-Localhost Dev [英] Fatal error: Uncaught Error: Call to undefined function curl_version() - Localhost Dev

查看:370
本文介绍了致命错误:未被捕获的错误:调用未定义的函数curl_version()-Localhost Dev的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的PHP项目上集成stripe,但是在本地主机上却出现此错误:

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 [...] 

中调用未定义的函数curl_version()我正在使用easyphp与 PHP 7 和我的php。行中的 extension = php_curl.dll 没有注释。

I'm using easyphp with PHP 7 and in my php.in the line extension=php_curl.dll is uncommented.

编辑:
我正在查看Apache的错误日志,我已经这样做了:

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

推荐答案

尝试关注



  1. 将libssh2.dll从PHP目录复制到Windows /系统目录

  2. 在php.ini中#zend_extension删除(;)前一行; extension = php_curl.dll

  3. 重新启动Apache服务器。


这篇关于致命错误:未被捕获的错误:调用未定义的函数curl_version()-Localhost Dev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆