Doc #53781 [NEW]: CURL_CAINFO fails with relative path
| From: | andy at gohanman dot com | Date: | Tue, 18 Jan 2011 17:58:56 +0000 |
| Subject: | Doc #53781 [NEW]: CURL_CAINFO fails with relative path | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-5831@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows 2000
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:CURL_CAINFO fails with relative path
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.
--
Edit bug report at http://bugs.php.net/bug.php?id=53781&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53781&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53781&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53781&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53781&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53781&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53781&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53781&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53781&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53781&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53781&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53781&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53781&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53781&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53781&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53781&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53781&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53781&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53781&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53781&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53781&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53781&r=mysqlcfg