php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44731 extension=pdo_oci.so
Submitted: 2008-04-15 08:45 UTC Modified: 2008-07-29 01:00 UTC
From: info at sd dot idv dot tw Assigned: fb-req-jani (profile)
Status: No Feedback Package: PDO related
PHP Version: 5.2.5 OS: FREEBSD 7.0 R
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: info at sd dot idv dot tw
New email:
PHP Version: OS:

 

 [2008-04-15 08:45 UTC] info at sd dot idv dot tw
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 17 18:00:03 2025 UTC