Bug #12672 Updated: ifx_connect does not return when base not present

From: Date: Fri, 10 Aug 2001 07:26:12 +0000
Subject: Bug #12672 Updated: ifx_connect does not return when base not present
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62777@lists.php.net to get a copy of this message
ID: 12672 User updated by: matjaz.ostroversnik@zrs-tk.si Reported By: matjaz.ostroversnik@zrs-tk.si Old Status: Feedback Status: Open Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: I've built the php4.0.7-dev as you suggested. There is a lot of differences in ifx.ec file, but unfortunatelly it doesn't work. Symptoms are the same. I've checked on our production computer with 4.0.3pl1. It's the same. I am using gcc 2.95.3 with --enable-shared and --enable-threads. Which compiler/settings do you use ? Previous Comments: ------------------------------------------------------------------------ [2001-08-09 16:34:12] sniper@php.net Oops. The correct url to snapshots is: http://snaps.php.net/ --Jani ------------------------------------------------------------------------ [2001-08-09 16:33:43] sniper@php.net I tried this with latest CVS and it works just fine. ie. it gives an error for it. Please try it: http://www.php.net/ --Jani ------------------------------------------------------------------------ [2001-08-09 09:59:10] matjaz.ostroversnik@zrs-tk.si <? 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) ------------------------------------------------------------------------ [2001-08-09 08:22:49] alindeman@php.net please include a sample script... ------------------------------------------------------------------------ [2001-08-09 04:09:35] matjaz.ostroversnik@zrs-tk.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/' ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12672&edit=1

« previous php.dev (#62777) next »