curl 在 xampp localhost 中不起作用

标签 curl

CURL 工作不正常。我编辑 php/php.ini & apache/php.ini 文件。但仍然没有解决办法。

最佳答案

对于仍然需要解决方案的任何人:

  1. Go to xampp install directory.
  2. Go to php.ini in php directory.
  3. Open php.ini and find curl, uncomment the first find you see. Save and close file.
  4. Go to php.ini in apache directory.
  5. Repeat Step Three.


来源:http://gabrieljones.com/getting-curl-to-work-in-xampp/

关于curl 在 xampp localhost 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2996705/

相关文章:

php - 如何在 PHP 中从 URL 下载多个文件?

python - Python 中 libcurl 库导入错误

curl - 为什么使用 curl |不建议 sudo sh 吗?

Python 中的curl 等价物,用于从文件中发布数据以供温和的库使用

php - 禁止获取 twitch channel 源

scala - akka流读取无尽的http流在读取时背压

php - 如何使用 cURL 在 PHP 中将我的代码转换为同步 http 请求

curl - 使用 curl 响应来自 ZF2 api 调用的奇怪编码

bash - docker registry v2 和 curl 的 insufficient_scope 错误

docker - 在脚本中运行时 curl 失败