|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-21 20:48 UTC] jani@php.net
[2008-07-29 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 22:00:01 2025 UTC |
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