【发布时间】:2016-08-23 13:02:06
【问题描述】:
我一直在尝试在 WAMP 3.0.0 上安装 opencart 2.1.0.2,但我不断收到错误消息“警告:需要加载 CURL 扩展才能使 OpenCart 工作!”,当我导航到 C:\wamp64\ bin\php 我注意到这里有两个 php 文件夹 php5.6.16 和 php7.0.0,尽管在我的 localhost 页面上它说当前的 php 设置是 php5.6.16。我在我的 php.ini 文件(在 php5.6.16 文件夹中)中进行了 CURL 搜索,发现了以下代码字符串
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;
extension=php_bz2.dll
extension=php_curl.dll
我需要一些帮助,如何打开/加载 CURL?
【问题讨论】: