Error on Apache+PHP+interbase(Firebird) installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings!

Just want to ask you why is it that i cannot connect to my interbase =
(firebird on freebsd 5.1). I installed my PHP with the following =
configuration.

./configure --with-apxs=3D/usr/local/apache/bin/apxs \
--with-interbase=3D/opt/interbase --enable-mbstring \
--enable-mbstr-enc-trans --enable-mbregex \
--enable-track-vars --without-mysql

and when i try to make a phpinfo.php this was the result

      Configure Command  './configure' =
'--with-apxs=3D/usr/local/sbin/apxs' =
'--with-config-file-path=3D/usr/local/etc' '--enable-versioning' =
'--with-regex=3Dsystem' '--without-gd' '--without-mysql' '--with-zlib' =
'--with-mysql=3D/usr/local' '--prefix=3D/usr/local' =
'i386-portbld-freebsd5.1' =20



and when i try a test to connect to interbase with the following =
scripts.
<?
$host=3D"localhost:/usr/interbase/examples/employee.gdb";
$user=3D"SYSDBA";
$password=3D"masterkey";
$command=3D"SELECT * FROM JOB";
$conn =3D ibase_connect ($host,$user,$password);
$result =3D ibase_query ($conn,$command);
while ($row =3D ibase_fetch_object ($result)) {
  print "$row->JOB_CODE, $row->JOB_COUNTRY, $row->JOB_TITLE, =
$row->MAX_SALARY<br>\n";
}
ibase_free_result($result);
ibase_close ($conn);
?>=20

I got this message.

Fatal error: Call to undefined function: ibase_connect() in =
/usr/local/www/data-dist/test.php on line 6


Can anybody please help me what wrong with my installation?

Thanks

Jonathan

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux