Connect to MySQL server with SSL and PHP4

Connect to MySQL server with SSL and PHP4

am 11.09.2006 02:33:08 von Damien Bezborodow

Hi,

I am stuck using _PHP4_ and need to connect to a MySQL server with SSL.
Has anybody successfully done this? I tried using mysql_connect() with
the MYSQL_CLIENT_SSL flag, but there was no way to tell the client where
my certificates were located.

Warning: mysql_connect(): SSL connection error in
/var/www/html/connect.php on line 3

I found a bug that explains this and offers a fix (requiring me to edit
the source code). I would like to avoid this if possible.

http://bugs.php.net/bug.php?id=28075

Is there any other library for PHP4 I can use that enables an SSL
connection to a MySQL server?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php