|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-10 18:50 UTC] inform at hcuv dot sacyl dot es
[2006-10-10 19:02 UTC] tony2001@php.net
[2006-10-28 13:34 UTC] dcalvo at hcuv dot sacyl dot es
[2006-10-28 23:55 UTC] tony2001@php.net
[2006-10-29 06:09 UTC] dcalvo at hcuv dot sacyl dot es
[2006-10-29 16:24 UTC] dcalvo at hcuv dot sacyl dot es
[2008-06-19 15:05 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 21:00:01 2025 UTC |
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("database@server","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.