php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63089 CURLOPT_CERTINFO note is incomplete
Submitted: 2012-09-14 10:58 UTC Modified: 2012-11-15 13:13 UTC
From: jh at junetz dot de Assigned: krakjoe (profile)
Status: Closed Package: cURL related
PHP Version: 5.3.17 OS: RedHat Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jh at junetz dot de
New email:
PHP Version: OS:

 

 [2012-09-14 10:58 UTC] jh at junetz dot de
Description:
------------
---
From manual page: http://www.php.net/function.curl-setopt#refsect1-function.curl-setopt-parameters
---

The note about CURLOPT_CERTINFO currently reads:
"Available since PHP 5.3.2. Requires CURLOPT_VERBOSE to be on to have an effect."

Actually it should read:
"Added in cURL 7.19.1. Available since PHP 5.3.2. Requires CURLOPT_VERBOSE to be on to have an effect."

Source: http://curl.haxx.se/changes.html

This is important since the latest PHP version available for RHEL 5, PHP 5.3.3, is (currently) linked against cURL 7.15.5. Since PHP version 5.3.3 is larger than the noted 5.3.2, the expectancy is that the option (constant) is available when it might not be.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-15 13:13 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2012-11-15 13:13 UTC] krakjoe@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 02:01:30 2024 UTC