PHP 4.0 Bug #7339: ODBC with Oracle and Apache, Server rejected the connection
| From: | beccarini at space dot it | Date: | Thu, 19 Oct 2000 12:37:44 +0000 |
| Subject: | PHP 4.0 Bug #7339: ODBC with Oracle and Apache, Server rejected the connection | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35526@lists.php.net to get a copy of this message | ||
From: beccarini@space.it
Operating system: NT4 SP5
PHP version: 4.0.3pl1
PHP Bug Type: ODBC related
Bug description: ODBC with Oracle and Apache, Server rejected the connection
Hello,
Using PHP3 and connecting to Oracle via ODBC everything works fine but using exactly the same script
with PHP4.0.3pl1 I receive this "SQL error: [Oracle][ODBC][Ora]Server rejected the connection.,
SQL state 08004 in SQLConnect".
The scrip is really easy, here it is:
<?php
if (!($conn=odbc_connect ("ORACLEQP", "scott", "tiger")))
echo "Error";
else
echo "OK";
?>
Obviously "ORACLEQP" is my Sysytem DSN. The server machine is different from the Web
Server running apache and PHP.
Any hint would be very appreciated cause right now to workaround to the problem I am using both PHP3
and PHP4.
(I need PHP4 because I am trying to use GD library)
Thanks
Andrea
--
Edit Bug report at: http://bugs.php.net/?id=7339&edit=1