For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > July 2007 > Connection to MySQL from PHP 4 with SSL enabled by default?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Connection to MySQL from PHP 4 with SSL enabled by default?
Mark B.

2007-07-23, 6:59 pm


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....html#a11754055
Sent from the Php - Database mailing list archive at Nabble.com.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com