如何在xampp中运行curl
我使用的是xampp,看起来默认情况下安装并启用了curl。phpinfo()表示: 该行在php.ini中未注释:如何在xampp中运行curl,curl,xampp,balanced-payments,Curl,Xampp,Balanced Payments,我使用的是xampp,看起来默认情况下安装并启用了curl。phpinfo()表示: 该行在php.ini中未注释: extension=php_curl.dll 但当我尝试运行curl时,它会说: c:\xampp\php>curl 'curl' is not recognized as an internal or external command, operable program or batch file. 启用卷曲 检查这些位置 c:\xampp\apache\bin\ph
extension=php_curl.dll
但当我尝试运行curl时,它会说:
c:\xampp\php>curl
'curl' is not recognized as an internal or external command,
operable program or batch file.
启用卷曲
检查这些位置c:\xampp\apache\bin\php.ini c:\xampp\php\php.ini 寻找 ;extension=php\u curl.dll 删除该文件 重新启动apache 看起来您正试图在windows上通过命令行使用cURL,就好像它是unix一样。 在您所处的阶段,您可以通过php脚本使用它
c:\xampp\php>curl
'curl' is not recognized as an internal or external command,
operable program or batch file.