Bug #7173 Updated: Invalid IFX link resource
| From: | sniper@php.net | Date: | Tue, 23 Oct 2001 15:32:01 +0000 |
| Subject: | Bug #7173 Updated: Invalid IFX link resource | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68841@lists.php.net to get a copy of this message | ||
ID: 7173
Updated by: sniper
Reported By: dat@nstc.nec.com.au
Old Status: Open
Status: Feedback
Bug Type: Informix related
Operating System: Solaris 2.6
PHP Version: 4.0.3
New Comment:
Does this happen with latest CVS snapshot from http://snaps.php.net/ ?
Previous Comments:
------------------------------------------------------------------------
[2000-10-13 01:18:20] dat@nstc.nec.com.au
$link = ifx_connect ("web@venus","web","nec") || die ("Could not
connect");
$qstr = "SELECT Name, Email, Extension FROM tabStaff";
$result = ifx_query($qstr,$link);
...
Warning: Supplied argument is not a valid IFX link resource in
/opt/local/apache/htdocs/test/sysadmin/staff/nstc_staff.php on line 10
I also tried with
$result = ifx_query($qstr,$link,0,0);
but no luck.
Here how I built PHP4.0.3:
configure --with-informix=/opt/informix --with-xml --with-apache=../apache_1.3.12
--enable-track-vars
no /usr/local/lib/php.ini
Informix IDS 7.31, CSDK 2.40, gcc 2.8.
However, the same code works fine with Apache 1.3.12, PHP 3.0.16 and Informix IDS 7.31.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=7173&edit=1