Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

cURL Configuration Options
Name Default Changeable Changelog
curl.cainfo NULL PHP_INI_SYSTEM Available since PHP 5.3.7.
For further details and definitions of the PHP_INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

curl.cainfo string

A default value for the CURLOPT_CAINFO option. This is required to be an absolute path.

add a note add a note

User Contributed Notes 1 note

ASchmidt at Anamera dot net
10 days ago
As of PHP 7.2 (Win 64) this directive, will NOT show in the phpinfo() even though it's set.

(In comparison, an openssl.cafile directive will show, if it's set to the exact same path).
To Top