Bug #17884: mysql_connect() does not support SSL

From: Date: Thu, 20 Jun 2002 19:43:30 +0000
Subject: Bug #17884: mysql_connect() does not support SSL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11605@lists.php.net to get a copy of this message
From: clay@killersoft.com Operating system: Mac OS X PHP version: 4.2.1 PHP Bug Type: Feature/Change Request Bug description: mysql_connect() does not support SSL 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 bug report at http://bugs.php.net/?id=17884&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17884&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17884&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17884&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17884&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17884&r=support Expected behavior: http://bugs.php.net/fix.php?id=17884&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17884&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17884&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17884&r=globals

« previous php.bugs (#11605) next »