Home >Backend Development >PHP Tutorial >如何可以在cmd中也使用curl

如何可以在cmd中也使用curl

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:19:011741browse

怎么可以在cmd中也使用curl
我现在的情况是在win7系统64位下的wamp,php.ini里已经开启了curl,用phpinfo()也可以看到curl已经开启了。环境变量也添加了php.exe文件和ext文件夹的路径,可以在cmd使用php命令,就是在cmd中打开有curl_init函数的文件会函数未定义之类,有谁可以解决下吗?是不是要在system32下放什么文件?
------解决思路----------------------
或者在启动 php 时用 -c 指出 php.ini 位置

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn