This is my configuration:
- Windows 7 64 bits
- WAMP Server 2.2 64 bits with PHP 5.4.3 (downloaded from official site).
- Firebird 1.5.6 to manage database (I need this version because newer versions don't open my db's). This program has only a 32 bit version (downloaded from official site).
Here is the code to connect to a FDB database. But when I try the code, I get the error: "Fatal error: Call to undefined function ibase_connect() in..."
I try:
- Activate the php_interbase.dll extension (WAMP->PHP->PHP Extensions->php_interbase.dll).
- Add an Environment Variable in Windows to the PHP.ini folder.
- Add an Environment Variable in Windows to the Firebird folder.
- Use Firebird 2.5 64 bits.
- Edit the php.ini file, deleting the semicolon to line ;extension=php_interbase.dll.
- Follow this steps.
And anything works. I get the same error. After of each tip I try, obviously I restart WAMP.
Note: when I execute (in a PHP page) extension_loaded("interbase"), I get always false. When the extension is loaded and when it isn't loaded. I think that it is the problem, but how can I solve it?
Thanks!