Bug #12672 Updated: ifx_connect does not return when base not present
| From: | matjaz dot ostroversnik at zrs-tk dot si | Date: | Thu, 09 Aug 2001 13:59:10 +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-62721@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:
<?
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)
Previous Comments:
------------------------------------------------------------------------
[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