Just a nota bene for the noobs (like yours truly):
Although the extension has no "configuration directives" in php.ini, there is a curl extension that must be enabled or uncommented in php.ini
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| curl.cainfo | NULL | PHP_INI_SYSTEM | 自 PHP 5.3.7. 起有效 |
这是配置指令的简短说明。
-
curl.cainfostring -
为
CURLOPT_CAINFO选项设置一个默认值。 这必须是一个绝对路径。
