Doc #70196 [NEW]: curl_setopt for CURLOPT_CAINFO does NOT require an absolute path
| From: | beanland2 at gmail dot com | Date: | Wed, 05 Aug 2015 19:40:30 +0000 |
| Subject: | Doc #70196 [NEW]: curl_setopt for CURLOPT_CAINFO does NOT require an absolute path | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12582@lists.php.net to get a copy of this message | ||
From: beanland2 at gmail dot com
Operating system: Ubuntu 14.10
PHP version: 5.5.27
Package: cURL related
Bug Type: Documentation Problem
Bug description:curl_setopt for CURLOPT_CAINFO does NOT require an absolute path
Description:
------------
---
From manual page: http://www.php.net/function.curl-setopt
---
The command below works perfectly fine on my system, but the
documentation says the CURLOPT_CAINFO requires an absolute URL
curl_setopt($ch, CURLOPT_CAINFO, '../../cert.pem');
--
Edit bug report at https://bugs.php.net/bug.php?id=70196&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70196&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70196&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70196&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70196&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70196&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70196&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70196&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70196&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70196&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70196&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70196&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70196&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70196&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70196&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70196&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70196&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70196&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70196&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70196&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70196&r=mysqlcfg