如何在Wamp服务器中启用curl

时间:2022-03-13 22:56:02

I try 30 combination of answer and forum topic but did not find the right answer.

我尝试了30个答案和论坛主题的组合,但是没有找到正确的答案。

I do all but how I can enable the curl int wamp server becouse I need that?

我做了所有的事情,但是我如何能够启用curl int wamp服务器,因为我需要它?

is there any solution? I try to uncomment - dont work? I try to chech into wamp task bar icons - php extension - php_curl I try to copy php_curl.dll into win sistem

有什么解决方案吗?我试着不予置评——不工作?我尝试进入wamp任务栏图标- php扩展- php_curl我尝试复制php_curl。dll到赢得sistem

NOT WORK

不工作

What I need to do?

我需要做什么?

3 个解决方案

#1


88  

The steps are as follows :

步骤如下:

  1. Close WAMP (if running)
  2. 关闭里面(如果运行)
  3. Navigate to WAMP\bin\php\(your version of php)\
  4. 导航到WAMP\bin\php\(php版本)\
  5. Edit php.ini
  6. 编辑php . ini
  7. Search for curl, uncomment extension=php_curl.dll
  8. 搜索curl, uncomment extension=php_curl.dll
  9. Navigate to WAMP\bin\Apache\(your version of apache)\bin\
  10. 导航到WAMP\bin\Apache\(您的Apache版本)\bin\ \
  11. Edit php.ini
  12. 编辑php . ini
  13. Search for curl, uncomment extension=php_curl.dll
  14. 搜索curl, uncomment extension=php_curl.dll
  15. Save both
  16. 节省两
  17. Restart WAMP
  18. 重启里面

#2


25  

I got the same issue and this solved it for me. Perhaps this might be a fix for your problem too.

我得到了同样的问题,这解决了我的问题。也许这也能解决你的问题。

Here is the fix. Follow this link http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

这是修复。遵循这个链接http://www.anindya.com/php - 5 - 4 - 3 -和- php - 5 - 3 - 13 - - windows/ x64 - 64位

Go to "Fixed curl extensions" and download the extension that matches your PHP version.

转到“固定curl扩展”,并下载与PHP版本匹配的扩展。

Extract and copy "php_curl.dll" to the extension directory of your wamp installation. (i.e. C:\wamp\bin\php\php5.3.13\ext)

提取和复制”php_curl。dll"到你的wamp安装的扩展目录。(例如C:\ wamp \ bin \ php \ php5.3.13 \ ext)

Restart Apache

重新启动Apache

Done!

完成了!

Refer to: http://blog.nterms.com/2012/07/php-curl-issues-with-wamp-server-on.html

参见:http://blog.nterms.com/2012/07/php-curl-issues-with-wamp-server-on.html

Cheers!

干杯!

#3


6  

Left Click on the WAMP icon the system try -> PHP -> PHP Extensions -> Enable php_curl

左击WAMP图标系统尝试-> PHP -> PHP扩展->启用php_curl。

#1


88  

The steps are as follows :

步骤如下:

  1. Close WAMP (if running)
  2. 关闭里面(如果运行)
  3. Navigate to WAMP\bin\php\(your version of php)\
  4. 导航到WAMP\bin\php\(php版本)\
  5. Edit php.ini
  6. 编辑php . ini
  7. Search for curl, uncomment extension=php_curl.dll
  8. 搜索curl, uncomment extension=php_curl.dll
  9. Navigate to WAMP\bin\Apache\(your version of apache)\bin\
  10. 导航到WAMP\bin\Apache\(您的Apache版本)\bin\ \
  11. Edit php.ini
  12. 编辑php . ini
  13. Search for curl, uncomment extension=php_curl.dll
  14. 搜索curl, uncomment extension=php_curl.dll
  15. Save both
  16. 节省两
  17. Restart WAMP
  18. 重启里面

#2


25  

I got the same issue and this solved it for me. Perhaps this might be a fix for your problem too.

我得到了同样的问题,这解决了我的问题。也许这也能解决你的问题。

Here is the fix. Follow this link http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

这是修复。遵循这个链接http://www.anindya.com/php - 5 - 4 - 3 -和- php - 5 - 3 - 13 - - windows/ x64 - 64位

Go to "Fixed curl extensions" and download the extension that matches your PHP version.

转到“固定curl扩展”,并下载与PHP版本匹配的扩展。

Extract and copy "php_curl.dll" to the extension directory of your wamp installation. (i.e. C:\wamp\bin\php\php5.3.13\ext)

提取和复制”php_curl。dll"到你的wamp安装的扩展目录。(例如C:\ wamp \ bin \ php \ php5.3.13 \ ext)

Restart Apache

重新启动Apache

Done!

完成了!

Refer to: http://blog.nterms.com/2012/07/php-curl-issues-with-wamp-server-on.html

参见:http://blog.nterms.com/2012/07/php-curl-issues-with-wamp-server-on.html

Cheers!

干杯!

#3


6  

Left Click on the WAMP icon the system try -> PHP -> PHP Extensions -> Enable php_curl

左击WAMP图标系统尝试-> PHP -> PHP扩展->启用php_curl。