Bug #17884 Updated: mysql_connect() does not support SSL

From: Date: Tue, 16 Jul 2002 05:33:32 +0000
Subject: Bug #17884 Updated: mysql_connect() does not support SSL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14281@lists.php.net to get a copy of this message
ID: 17884 Updated by: georg@php.net Reported By: clay@killersoft.com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Mac OS X PHP Version: 4.2.1 New Comment: In the current cvs tree mysql_connect and mysql_pconnect now have an additional last parameter client_flags for connecting via SSL. Its described in the documentation. Previous Comments: ------------------------------------------------------------------------ [2002-06-20 15:43:30] clay@killersoft.com mysql_connect() does not seem to support connections to MySQL 4.x over MySQL's supported SSL connections. I've compiled MySQL with the "--with-openssl" parameter, and then re-built PHP against that SSL-capable MySQL library. Connections to MySQL using SSL with the command line client succeed, which the same connection attempt via PHP fails. Could PHP be altered to recognize the necessary "ssl-key", "ssl-cert", "ssl-ca", and "ssl-capath" MySQL [client] options? I believe that is what is required in order for these connections to succeed. Perhaps these options can be added to MySQL's allowed parameters in php.ini? Thanks, Clay ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17884&edit=1

« previous php.bugs (#14281) next »