PHP 4.0 Bug #7173: Invalid IFX link resource
| From: | dat at nstc dot nec dot com dot au | Date: | Fri, 13 Oct 2000 05:18:20 +0000 |
| Subject: | PHP 4.0 Bug #7173: Invalid IFX link resource | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34855@lists.php.net to get a copy of this message | ||
From: dat@nstc.nec.com.au
Operating system: Solaris 2.6
PHP version: 4.0.3
PHP Bug Type: Informix related
Bug description: Invalid IFX link resource
$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 Bug report at: http://bugs.php.net/?id=7173&edit=1