Bug #12672 Updated: ifx_connect does not return when base not present
| From: | sniper@php.net | Date: | Fri, 10 Aug 2001 07:37:30 +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-62780@lists.php.net to get a copy of this message | ||
ID: 12672
Updated by: sniper
Reported By: matjaz.ostroversnik@zrs-tk.si
Old Status: Open
Status: Feedback
Bug Type: Informix related
Operating System: Linux RH 6.2
PHP Version: 4.0.6
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2001-08-10 03:26:12] matjaz.ostroversnik@zrs-tk.si
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
?
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12672
Edit this bug report at http://bugs.php.net/?id=12672&edit=1