Connect to MySQL server with SSL and PHP4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux