logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Cannot find c:\php\ext\php_interbase.dll, but it is there
Author
JPCervini



Joined: 08 Dec 2011
Posts: 1
Location: USA, Ft Lauderdale

PostPosted: Thu 08 Dec '11 15:08    Post subject: Cannot find c:\php\ext\php_interbase.dll, but it is there Reply with quote

Apache/2.2.21 (Win32) PHP/5.2.17

I am running Windows XP with Apache Server and PHP.
Attempting to use Firebird/Interbase module.
<?php phpinfo(); ?> works fine.

The loaded configuration file is C:\php\php.ini

The problem is when I uncomment the following two lines:
;[PHP_INTERBASE]
;extension=php_interbase.dll

and then reload Apache, it fails to load because it says it can't find
C:\php\ext\php_interbase.dll

But the file is there.

I don't believe this is a 'PATH' issue because
the other modules load fine and they are in the same folder:
[PHP_MYSQL]
extension=php_mysql.dll
[PHP_PDO]
extension=php_pdo.dll
[PHP_PDO_MYSQL]
extension=php_pdo_mysql.dll
[PHP_PDO_ODBC]
extension=php_pdo_odbc.dll
[PHP_PDO_SQLITE]
extension=php_pdo_sqlite.dll
[PHP_SOCKETS]
extension=php_sockets.dll
[PHP_XMLRPC]
extension=php_xmlrpc.dll
;[PHP_INTERBASE]
;extension=php_interbase.dll

According to phpinfo() the above extensions are loaded. It is only the [PHP_INTERBASE] section that makes Apache fail to load.

So now I cannot use a Firebird database. Any ideas?
john c.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3057
Location: Hilversum, NL, EU

PostPosted: Thu 08 Dec '11 17:04    Post subject: Reply with quote

Looks like the necessary Firebird client library is not found. Try to copy fbclient.dll and/or gds32.dll to system32.


Steffen
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 08 Dec '11 18:19    Post subject: Reply with quote

Steffen wrote:
Looks like the necessary Firebird client library is not found. Try to copy fbclient.dll and/or gds32.dll to system32.


Steffen


I disagree with coping those files.
Better use the load function in apache before loading the php module.

Code:

LoadFile C:/path/to/fbclient.dll
LoadFile C:/path/to/gds32.dll
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "c:/php5"
Back to top


Reply to topic   Topic: Cannot find c:\php\ext\php_interbase.dll, but it is there View previous topic :: View next topic
Post new topic   Forum Index -> Other Software