#44731 [Opn->Fbk]: extension=pdo_oci.so
| From: | jani@php.net | Date: | Mon, 21 Jul 2008 20:48:10 +0000 |
| Subject: | #44731 [Opn->Fbk]: extension=pdo_oci.so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-127096@lists.php.net to get a copy of this message | ||
ID: 44731
Updated by: jani@php.net
Reported By: info at sd dot idv dot tw
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: FREEBSD 7.0 R
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-04-15 08:45:57] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44731&edit=1