From:             inform at hcuv dot sacyl dot es
Operating system: HP-UX 11i (11.11)
PHP version:      5.1.6
PHP Bug Type:     Informix related
Bug description:  Can't connect to several Online IDS servers

Description:
------------
Hello.
First of all sorry about my english. I'm Spanish.
I have two HP-UX server with Apache 2.0.58 and PHP compiled as a shared
object with informix CSDK 2.81TC1. Each server has an Informix Online
Dynamic Server 7.31 running. The connectivity between IDS server works
fine from informix dbaccess utility.
When i connect to the informix server located into the unix server  (HP-UX
1) where apache is configured and running i have no problem to connect and
execute any query to access the IDS(1) . When I try to connect to the
other unix server (HP-UX 2) with another IDS 7.31 (IDS 2) running, i can't
connect to the remote database host , the error that the web page shows is
SQLCODE=-908.
Doing the same from the other Unix server (HP-UX 2) the situation is the
same, accessing to the local IDS 2 without problem, but can't connect to
the remote database (IDS 1).
I don't know  if it's necessary to use the PDO_INFORMIX function to access
Informix Database from PHP 5.1.6, or if this is an environment variable
problem.

Thank's a lot.

Reproduce code:
---------------
if (!$id_con = ifx_connect("[EMAIL PROTECTED]","username","password"))
{echo "No te conectas.";}
else 
{Echo "Conectado con ".$id_con."<br>";
}

Expected result:
----------------
Conectado con Resource id #2

Actual result:
--------------
Warning: ifx_connect() [function.ifx-connect]: E [SQLSTATE=08 004
SQLCODE=-908] in /testpage.php on line 17
No te conectas.


-- 
Edit bug report at http://bugs.php.net/?id=39119&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39119&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39119&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39119&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39119&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39119&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39119&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39119&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39119&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39119&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39119&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39119&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39119&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39119&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39119&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39119&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39119&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39119&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39119&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39119&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39119&r=mysqlcfg

Reply via email to