Bug #54962 [NEW]: either real_connect or ssl_set is not working properly
From:
Operating system: CentOS5.5
PHP version: 5.3SVN-2011-05-31 (snap)
Package: MySQLi related
Bug Type: Bug
Bug description:either real_connect or ssl_set is not working properly
Description:
------------
I have a code as follows.
$ssl_ca = 'https://rds.amazonaws.com/doc/mysql-ssl-ca-cert.pem';
$mysqli->ssl_set(null, null, $ssl_ca, null, null);
$result = $mysqli->real_connect($location, $usr, $password, $dbname, $port,
null, MYSQLI_CLIENT_SSL);
This code works with PHP 5.3.5 in windowsXP sp3 and never throws any error
even if $ssl_ca contains a wrong path.
And this code always throws error- '(HY000/2026): SSL connection error' in
CentOS 5.5 32bit(PHP 5.3.5)
--
Edit bug report at http://bugs.php.net/bug.php?id=54962&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54962&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54962&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54962&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54962&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54962&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54962&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54962&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54962&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54962&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54962&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54962&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54962&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54962&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54962&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54962&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54962&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54962&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54962&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54962&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54962&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54962&r=mysqlcfg
Thread (4 messages)
- sukarna_0 at yahoo dot co dot in