php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48587 MySQL PDO driver doesn't support SSL connections
Submitted: 2009-06-17 15:55 UTC Modified: 2011-04-15 16:32 UTC
Votes:57
Avg. Score:4.8 ± 0.6
Reproduced:42 of 46 (91.3%)
Same Version:18 (42.9%)
Same OS:23 (54.8%)
From: michael dot stringer at yuuguu dot com Assigned: rrichards (profile)
Status: Closed Package: PDO related
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2009-06-17 15:55 UTC] michael dot stringer at yuuguu dot com
Description:
------------
The mysqli driver supports connecting to MySQL databases using SSL certificates via the ssl_set command (which in turn calls the native client ssl_set function).

Please add this functionality to the PDO driver. This is currently preventing us from switching from the mysqli APIs to PDO.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-24 13:29 UTC] [email protected]
-Type: Bug +Type: Feature/Change Request
 [2010-03-31 00:41 UTC] [email protected]
-Assigned To: +Assigned To: pollita
 [2010-06-13 14:46 UTC] [email protected]
-Assigned To: pollita +Assigned To: mysql
 [2010-10-28 09:46 UTC] [email protected]
5.2 is closed, http://www.php.net/archive/2010.php#id2010-07-22-1


 The PHP development team would like to announce the immediate availability of PHP 5.2.14. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which are security related.

This release marks the end of the active support for PHP 5.2. Following this release the PHP 5.2 series will receive no further active bug maintenance. Security fixes for PHP 5.2 might be published on a case by cases basis. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3
 [2011-02-09 15:51 UTC] [email protected]
-Status: Assigned +Status: Feedback
 [2011-02-09 15:51 UTC] [email protected]
5.2.* only? If yes, then this will be won't fix.
 [2011-02-09 16:04 UTC] michael dot stringer at yuuguu dot com
-Status: Feedback +Status: Assigned -PHP Version: 5.2.9 +PHP Version: *
 [2011-02-09 16:04 UTC] michael dot stringer at yuuguu dot com
As of version 5.3.5 this still hasn't been implemented so it is not limited to 5.2.*
 [2011-04-15 16:24 UTC] [email protected]
Automatic comment from SVN on behalf of rrichards
Revision: http://svn.php.net/viewvc/?view=revision&revision=310239
Log: Implement FR #48587 (MySQL PDO driver doesn't support SSL connections)
 [2011-04-15 16:32 UTC] [email protected]
-Status: Assigned +Status: Closed -Assigned To: mysql +Assigned To: rrichards
 [2011-04-15 16:32 UTC] [email protected]
This bug has been fixed in SVN.

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/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 31 08:00:02 2025 UTC