Connection to MySQL from PHP 4 with SSL enabled by default?

From: Date: Mon, 23 Jul 2007 22:31:04 +0000
Subject: Connection to MySQL from PHP 4 with SSL enabled by default?
Groups: php.db 
Request: Send a blank email to php-db+get-43847@lists.php.net to get a copy of this message
Hi, I would like to know if there is any setting that allows to connect to mysql from php using SSL by default. I know that there is a flag MYSQL_CLIENT_SSL in mysql_connect, however, I am trying to force PHP apps which I did *not* wrote to transparently connect to mysql using SSL without having to change the source code. I have no root access to the computer running Apache or MySQL so I cannot set any tunnel between them. My current configuration is: - PHP 4.3 - Mysql 4.1.20 - GNU/Linux 2.6.9-42.0.2.ELsmp - Apache 1.3.22 Ideally, there could be a setting somewhere in php.ini, httpd.conf or somewhere else that by default makes all connections to mysql go though SSL. Can anyone help me? Thanks in advance! -- View this message in context: http://www.nabble.com/Connection-to-MySQL-from-PHP-4-with-SSL-enabled-by-default--tf4132847.html#a11754055 Sent from the Php - Database mailing list archive at Nabble.com.

« previous php.db (#43847) next »