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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 03:01:31 2024 UTC