ID: 39119 User updated by: dcalvo at hcuv dot sacyl dot es -Reported By: inform at hcuv dot sacyl dot es +Reported By: dcalvo at hcuv dot sacyl dot es -Status: No Feedback +Status: Open Bug Type: Informix related Operating System: HP-UX 11i (11.11) PHP Version: 5.1.6 New Comment:
I have tried to used the versio 4.4.4 and all work's fine, without any changes on any of my IDS server configuration, so i supose therea are any differencies between version 4 and version 5 of PHP. It is posible to copy the file ext/informix/(ifx.ec from version 4 to the veersion5 one? i supose the answer is no, but i'm not sure. Thank's a lot Previous Comments: ------------------------------------------------------------------------ [2006-10-18 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-10-10 19:02:28] [EMAIL PROTECTED] I'm afraid there were almost no changes since 4.3.4, so I'd look for some (mis)configuration issues on your machines. ------------------------------------------------------------------------ [2006-10-10 18:50:11] inform at hcuv dot sacyl dot es Accesing from another Unix server (HP-UX 3) with Apache Web Server 1.3.31 and PHP 4.3.4 it's possible to connect to the IDS1 server without problems. ------------------------------------------------------------------------ [2006-10-10 18:41:04] dcalvo at hcuv dot sacyl dot es 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 this bug report at http://bugs.php.net/?id=39119&edit=1