Subject Re: [firebird-php] Installing on Win32
Author Lester Caine
sgharp wrote:

> Firebird is not working with PHP. Here's my setup.
> Win XP/Pro (SP2)
> Firebird
> PHP 5.0.3
> Apache 2.0.52
> PHP is working fine with Apache. The problem is with the Firebird
> install. When I run a test script, I get an error
> Fatal error: Call to undefined function ibase_connect() in my.php
OK php_interbase.dll has not loaded

> I've made the following changes to the php.ini file. I uncommented:
> extension=php_gd2.dll
Graphics driver - but still usefull
> extension=php_interbase.dll
Yep the one we want

> I set the extension dir to the folder that has my php_interbase.dll,
> extension_dir = "C:\PHP\ext\"

> I also set the session.save_path= to a valid tmp path.
> What have I missed?

Restarted Apache?
Where is the copy of php.ini you are editing ( should be in c:\Windows )
phpinfo showing it loaded?
( Your first script should be <? phpinfo() ?> ;) )
will give you a sample - check the interbase section

Mine just works without problems, so one of the settings must be wrong

Lester Caine
L.S.Caine Electronic Services