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.
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.