且构网

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

PHPUnit - 调用未定义的函数curl_init()错误

更新时间:2023-02-24 14:17:11

您需要将Curl库添加到命令行PHP.ini。

You need to add the Curl libraries to the command line PHP.ini.

您可以只是复制文件 C:\wamp\bin\apache\Apache2.2 .x\bin\php.ini c:\wamp\bin\php\php5.3.10\\ pp.ini (调整系统上的实际目录)。

You can probably just copy the file C:\wamp\bin\apache\Apache2.2.x\bin\php.ini to c:\wamp\bin\php\php5.3.10\php.ini (adjust for the actual directories on your system).