且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 PHP/XAMPP 中启用 cURL

更新时间:2022-10-18 18:53:35

由于您使用的是 XAMPP,请取消注释该行

Since you're using XAMPP, uncomment the line

;extension=php_curl.dll

xamppapacheinphp.ini中,然后重启Apache服务.

in xamppapacheinphp.ini, and then restart the Apache service.

注意:在较新的 XAMPP 版本中,PHP 已移至根 xampp 文件夹 xamppphpphp.ini.

NB: In newer XAMPP versions, PHP has moved to root xampp folder xamppphpphp.ini.