Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135375 - Possible php4.4.2-mysql-readmycnf.patch side effect
Summary: Possible php4.4.2-mysql-readmycnf.patch side effect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 04:38 UTC by Alexander Kirillov
Modified: 2007-03-05 17:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kirillov 2006-06-03 04:38:29 UTC
mysql_connect () MYSQL_CLIENT_SSL flag seems to be ignored
if ssl-ca, ssl-cert, ssl-key are explicitly listed
in [client] section of my.cnf

PHP client always opens secure connection regardless of
mysql_connect () flag settings. The expected behaviour is restored
when I comment out ssl-related settings.

But then I can't connect to ssl-protected accounts with
/usr/bin/mysql client.
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2007-03-05 17:51:49 UTC
The readmycnf patch was removed, we now read php.ini and only get the setting for the charset, as was intended from the beginning. This approach is much more flexible and less error prone, transition of your my.cnf settings to php.ini is done automatically, just etc-update.
Best regards, CHTEKK.