|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-20 15:54 UTC] derick@php.net
[2007-07-13 10:45 UTC] Bruno dot Harbulot at manchester dot ac dot uk
[2010-12-20 14:00 UTC] jani@php.net
-Package: Feature/Change Request
+Package: MySQL related
-Operating System: linux
+Operating System: *
-PHP Version: 4.3.6
+PHP Version: *
[2011-01-06 17:14 UTC] uw@php.net
-Assigned To: georg
+Assigned To: mysql
[2011-01-06 17:14 UTC] uw@php.net
[2011-01-19 12:11 UTC] uw@php.net
-Status: Assigned
+Status: Wont fix
[2011-01-19 12:11 UTC] uw@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 13:00:01 2025 UTC |
Description: ------------ I was tring to use SSL-enabled mysql connections using php and mod_php. The problem was that the libmysql library inside {,mod_}php detects that SSL is needed, but it doesn't know the location of the client certificate. by simply inserting the following line mysql_options(&mysql->conn,MYSQL_READ_DEFAULT_GROUP,"client"); before mysql_real_connect(..) in ext/mysql/php_mysql.c, the my.cnf file is read and all SSL-related configurations are imported from there. If my problem can be solved in another way, please drop me a line :). Successfuly tested with php-4.3.4-r4, mod_php-4.3.4-r4, mod_php-4.3.6-rc2, php-5.0_beta1-r1. see http://bugs.gentoo.org/show_bug.cgi?id=46340#c3 for scenario details the patch can be downloaded here: http://bugs.gentoo.org/attachment.cgi?id=28436&action=view