需要加载 CURL 扩展才能让 OpenCart 工作!php-5.3.13 和 WAMP

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20755954/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 03:31:08  来源:igfitidea点击:

CURL extension needs to be loaded for OpenCart to work! php-5.3.13 and WAMP

phpwampserver

提问by Alimon Karim

I am trying to install Opencart here I have get a warning that is CURL extension needs to be loaded for OpenCart to work!I have already download php_curl. and also replace it bin\php\php5.3.13\ext in here.

我正在尝试在这里安装 Opencart 我收到一个警告,需要加载 CURL 扩展才能让 OpenCart 工作!我已经下载了 php_curl。并将其替换为 bin\php\php5.3.13\ext 在这里。

enter image description here

在此处输入图片说明

Here in php extensions php_curl already on. But in install form showing me crul is off

这里在 php 扩展中 php_curl 已经打开了。但是在安装形式中显示 crul 已关闭

enter image description here

在此处输入图片说明

I have already restarted my wamp and also restarted install.How can I solve this problem?

我已经重新启动了我的 wamp 并重新启动了安装。我该如何解决这个问题?

回答by cms

I have faced same problem! You can solve it by 2 ways:

我遇到了同样的问题!您可以通过两种方式解决:

Go to C:\wamp64\bin\php\php7.x.x\php.inichange the line from,

去换C:\wamp64\bin\php\php7.x.x\php.ini线,

;extension=php_curl.dll

to:

到:

extension=php_curl.dll

Than restart your WAMP, I think that will work.

比重启你的 WAMP,我认为这会奏效。

If this does not work for you, try to change your PHP version you can use php-5.4.

如果这对您不起作用,请尝试更改您的 PHP 版本,您可以使用 php-5.4。

回答by Dr Manhattan

For WAMP 2.4 you must uncomment two php.ini files at these locations

对于 WAMP 2.4,您必须在这些位置取消注释两个 php.ini 文件

wamp\bin\apache\Apache2.4.4\bin\php.ini

wamp\bin\php\php5.4.12\php.ini

回答by Rizo

  1. Close WAMP (if running)
  2. Navigate to WAMP\bin\php(your version of php)\
  3. edit php.ini
  4. Search for curl, uncomment extension=php_curl.dll
  5. Navigate to WAMP\bin\Apache(your version of apache)\bin\
  6. edit php.ini
  7. Search for curl, uncomment extension=php_curl.dll
  8. Save both
  9. Restart WAMP
  1. 关闭 WAMP(如果正在运行)
  2. 导航到 WAMP\bin\php(您的 php 版本)\
  3. 编辑 php.ini
  4. 搜索 curl,取消注释 extension=php_curl.dll
  5. 导航到 WAMP\bin\Apache(您的 apache 版本)\bin\
  6. 编辑 php.ini
  7. 搜索 curl,取消注释 extension=php_curl.dll
  8. 两个都保存
  9. 重启 WAMP

回答by user5400664

just try to go to php/php_extensions/There will be php_curl, if it is not tickedpls make it ticked.then you can try to proceed.Hope it solves your problem.

只是尝试去php/php_extensions/There will php_curl,如果它没有被勾选,勾选它。然后你可以尝试继续。希望它可以解决你的问题。