[PHP-DEV] PHP 4.0 Bug #7173: Invalid IFX link resource From: dat <email protected>
Date: 10/13/00

From: dat <email protected>
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 <email protected>","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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>