I happily Installed Informix IDS2000 on a Suse Linux 6.4 System running apache and PHP3.12.
a) building php, did you?
./configure --with-informix --with-apache --without-gd
b) Suppose you got a DB with a name 'mydb' and a user
'myuser' with password 'mypw' and this user has the right to connect to this db (grant connect to myuser) then you
could do like this :
open Database
$link=@ifx_connect("mydb@ifmx_ids2000","myuser","mypw");
if (!$link)
{ echo "DB while connecting<br>";
echo " Code: ".ifx_error()."<br>";
echo " Text: ".ifx_errormsg()."<br>"; }
else {
.
.