Subject Re: [firebird-php] Installing FB1.5 on XAMPP (W2K, Apache 2, PHP5)
Author Lester Caine
ublix2005 wrote:

> Firebird does not start.
You have not tested that yet - the error you give is not a Firebird
problem ;)

> My system:
> - W2K (fresh install on a test-machine)
> - XAMPP from http://www.apachefriends.org
> (Apache 2.0.54, PHP 5.04)
> - FB 1.5.2
> All products are installed with the default-
> settings.
>
> php.ini and php5.ini:
> extension=php_interbase.dll
>
> php_interbase.dll is in my ext and extensions directory.

Now check phpinfo() and see what is actually installed, something is
wrong with your php setup

> In htdocs is the file test.php:
> <?php
> $host =
> 'localhost:C:/Programme/Firebird/Firebird_1_5/examples/EMPLOYEE.FDB';
> $username = 'SYSDBA';
> $password = 'masterkey';
> $dbh = ibase_connect ( $host, $username, $password ) or die ("error
> in db connect");
> ?>
>
> After start test.php I get the message:
> Fatal error: Call to undefined function ibase_connect() in
> C:\apachefriends\xampp\htdocs\__fc.php on line 5
>
> Any idea?
The error is saying that it has not found php_interbase.dll. It has not
got as far as trying to connect to it.
Have a look at
http://home.lsces.co.uk/PHP/testphpinfo.php
it will show you what should be set up.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services