php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53781 CURL_CAINFO fails with relative path
Submitted: 2011-01-18 18:58 UTC Modified: 2011-02-10 13:55 UTC
From: andy at gohanman dot com Assigned: vrana (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows 2000
Private report: No CVE-ID: None
 [2011-01-18 18:58 UTC] andy at gohanman dot com
Description:
------------
I'm running PHP 5.3.2, but that wasn't available in the dropdown.

Curl SSL verification fails when CURL_CAINFO is set to a relative path. The error (#60, error setting certificate verify locations) is rather baffling. A quick google suggests verifying path and permissions, but according to PHP's is_readable(), the file is both available and accessible.

Switching to an absolute path is an easy enough solution, but something in the documentation would be nice. There's an empty "Notes" column for CURL_CAINFO on the curl_setopt() page that would do rather nicely.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-10 13:55 UTC] vrana@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=308189
Log: CURLOPT_CAINFO requires absolute path (doc bug #53781)
 [2011-02-10 13:55 UTC] vrana@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: vrana
 [2011-02-10 13:55 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 16:01:35 2024 UTC