Connect to MySQL server with SSL and PHP4

From: Date: Mon, 11 Sep 2006 00:33:08 +0000
Subject: Connect to MySQL server with SSL and PHP4
Groups: php.db 
Request: Send a blank email to php-db+get-42337@lists.php.net to get a copy of this message
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?

« previous php.db (#42337) next »