ID: 7339
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: ODBC related
Description: ODBC with Oracle and Apache,  Server rejected the connection

this sounds more like you didn't read the problem very well,
I repeat, using PHP3 everythinh works (so the Oracle Configuration is fine and the 
Username and Pwd is OK) using PHP4 there are problems.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-30 11:33:43] [EMAIL PROTECTED]
this sounds more like a misconfiguration in the Oracle server rather than in PHP.  
Please check that your Oracle installation is properly setup.

And then the that the user and password are correct.

---------------------------------------------------------------------------

[2000-10-19 08:37:44] [EMAIL PROTECTED]
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

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=7339


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to