From:             info at sd dot idv dot tw
Operating system: FREEBSD 7.0 R
PHP version:      5.2.5
PHP Bug Type:     PDO related
Bug description:  extension=pdo_oci.so

Description:
------------
I use Cgi MOD.
When i enable the extension "extension=pdo_oci.so"
I can't mysql_connect connect to another server only can connect to
localhost.

AND whene i disable the extension "#extension=pdo_oci.so"
mysql_connect work good! 
why?

Reproduce code:
---------------
<?
$link = mysql_pconnect('59.102.103:3306', 'root', 'password');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>


Expected result:
----------------
<b>Warning</b>:  mysql_connect() [<a
href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to
MySQL server on '59.102.103' (0) in <b>/var/rrd/aa.php</b> on line
<b>2</b><br />
Could not connect: Can't connect to MySQL server on '59.102.103' (0)

Actual result:
--------------
Connected successfully

-- 
Edit bug report at http://bugs.php.net/?id=44731&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44731&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44731&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44731&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44731&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44731&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44731&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44731&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44731&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44731&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44731&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44731&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44731&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44731&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44731&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44731&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44731&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44731&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44731&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44731&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44731&r=mysqlcfg

Reply via email to