|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2001-08-09 04:09 UTC] matjaz dot ostroversnik at zrs-tk dot si
 (command line mode) if the database (i.e. informix) is not up the ifx_connect function hangs. One would expect to return some meaningfull information. OS: Linux giant-a 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686 unknown conf: ./configure' --enable-trans-sid' '--enable-dbase' '--enable-track-vars' '--with-informix' '--with-t1lib=/usr/local/src/T1-1.0.1/' '--with-zlib-dir=/usr/local/src/zlib-1.1.3/' '--with-gd=/usr/local/src/gd-1.8.4/' '--with-jpeg-dir=/usr/local/src/jpeg-6b/' '--with-ttf=/usr/local/src/freetype-1.3.1/' '--with-png-dir=/usr/local/src/libpng-1.0.8/' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
<? echo ("before\n"); $id = ifx_connect("base","user","pass"); echo ("after\n"); ?> if ifx is up you get before after otherwise you get before (program does not return)What does this script output for you: <?php error_reporting(E_ALL); $pp = ifx_connect("base", "user", "pass"); print_r($pp); ?> The compiler / configure options don't matter here. --Jani