Doc #75500 [Opn->Csd]: Constant PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT not documented
| From: | girgias@php.net | Date: | Tue, 01 Jan 2019 22:33:22 +0000 |
| Subject: | Doc #75500 [Opn->Csd]: Constant PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16272@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75500&edit=1
ID: 75500
Updated by: girgias@php.net
Reported by: christian dot studer at meteotest dot ch
Summary: Constant PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT not
documented
-Status: Open
+Status: Closed
Type: Documentation Problem
-Package: Documentation problem
+Package: PDO MySQL
PHP Version: 7.0.25
-Assigned To:
+Assigned To: girgias
Block user comment: N
Private report: N
New Comment:
This seems to have been fixed.
Previous Comments:
------------------------------------------------------------------------
[2018-02-02 13:48:43] phpbug at theochino dot com
Not only it's not documented, but it doesn't give an error.
No Certificate invalid, no anything ... just blank
SQLSTATE[HY000] [2002]
------------------------------------------------------------------------
[2017-11-08 11:35:38] christian dot studer at meteotest dot ch
Description:
------------
---
From manual page: http://www.php.net/ref.pdo-mysql
---
The constant PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT (Which disables verification of the CA file and
allows for self made CAs) is not documented.
Behaviour is the same as MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
(http://php.net/manual/en/mysqli.real-connect.php)
Added in this commit: http://git.php.net/?p=php-src.git;a=commit;h=247ce052cd0fc7d0d8ea1a0e7ea2075e9601766a
Test script:
---------------
var_dump(PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT);
Expected result:
----------------
TRUE/FALSE.
Actual result:
--------------
TRUE/FALSE.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75500&edit=1