php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60129 Should be possible to set CURLOPT_CAPATH from php ini
Submitted: 2011-10-25 12:51 UTC Modified: 2011-10-30 16:10 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: dominic dot benson at thirdlight dot com Assigned:
Status: Open Package: cURL related
PHP Version: 5.3.8 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dominic dot benson at thirdlight dot com
New email:
PHP Version: OS:

 

 [2011-10-25 12:51 UTC] dominic dot benson at thirdlight dot com
Description:
------------
The ini setting curl.cainfo allows CURLOPT_CAINFO to be set automatically. It would be useful to allow CURLOPT_CAPATH to be set in the same fashion.

The attached patch adds support for a new ini setting curl.capath, used to set CURLOPT_CAPATH when a new cURL resource is initialised.



Patches

curl_capath_ini.patch (last revision 2011-10-25 12:52 UTC by dominic dot benson at thirdlight dot com)

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC