Subject | Re: [firebird-support] php config error with option --with-interbase |
---|---|
Author | Hans |
Post date | 2006-03-04T03:41:56Z |
I have been searching for weeks too.
Then I used
Yum erase php*
Yum erase apache*
Downloaded Apache 2.0.54 source , ./configure, make and make install
Downloaded PHP 5.1.2 source .. and did the same
Adjusted the PHP.ini file
All works fine now.
Remember to set Major/Minor_Version
to
MODULE_MAGIC_NUMBER_MAJOR = 20020903; { Apache 2.0.51..54 }
MODULE_MAGIC_NUMBER_MINOR = 9;
and recompile some language modules, if you develop static modules or cgi's
Parts of my php_info()
=================
php version 5.1.2
System Linux localhost.localdomain 2.6.15-1.1831_FC4 #1 Tue Feb 7 13:37:42
EST 2006 i686
Build Date Feb 19 2006 21:19:50
Configure Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-interbase=/opt/firebird'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, convert.iconv.*
===============
interbase
Firebird/InterBase Support static
Compile-time Client Library Version Firebird API version 15
Run-time Client Library Version LI-V6.3.3.4870 Firebird 1.5
===============
Best Regards
Hans
Then I used
Yum erase php*
Yum erase apache*
Downloaded Apache 2.0.54 source , ./configure, make and make install
Downloaded PHP 5.1.2 source .. and did the same
Adjusted the PHP.ini file
All works fine now.
Remember to set Major/Minor_Version
to
MODULE_MAGIC_NUMBER_MAJOR = 20020903; { Apache 2.0.51..54 }
MODULE_MAGIC_NUMBER_MINOR = 9;
and recompile some language modules, if you develop static modules or cgi's
Parts of my php_info()
=================
php version 5.1.2
System Linux localhost.localdomain 2.6.15-1.1831_FC4 #1 Tue Feb 7 13:37:42
EST 2006 i686
Build Date Feb 19 2006 21:19:50
Configure Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-interbase=/opt/firebird'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, convert.iconv.*
===============
interbase
Firebird/InterBase Support static
Compile-time Client Library Version Firebird API version 15
Run-time Client Library Version LI-V6.3.3.4870 Firebird 1.5
===============
Best Regards
Hans
----- Original Message -----
From: "melvinhcox" <melcox@...>
To: <firebird-support@yahoogroups.com>
Sent: Friday, March 03, 2006 5:50 AM
Subject: [firebird-support] php config error with option --with-interbase
>I am attempting to restore connectivity between an Apache based
> webserver and a remote Firebird 1.5.x database server using php. Both
> the client and server run under LINUX (Fedora Core).
>
> For reasons beyond my knowledge, I am unable to configure php5.x to
> use the --with-interbase option.
>
> -------------------------------------------------------------
>
> configure: error: libgds, libib_util or libfbclient not found! Check
> config.log for more information.
>
> -------------------------------------------------------------
>
> FYI, my research shows a bug report (28750) for this problem was
> logged with the PHP Group in July of 2004.
>
> http://bugs.php.net/bug.php?id=28750
>
> The bug report was, however, rejected by the PHP Group with a
> notation that the problem was caused by 'broken interbase .so's'.
>
>
> BACKGROUND:
>
> I have successfully reinstalled an Apache 2.x webserver under a
> freshly installed Linux (Fedora Core 4) operating system. All
> current operating system patches have been applied.
>
> Following firebird.org's documentation for a client-only install
> under Linux, I have copied libfbclient.so.1.5.1 from the server
> machine's /opt/firebire/lib directory into the /usr/lib directory of
> the client machine.
>
> I have also created chained symlinks using the following commands:
>
> ln -s /usr/lib/libfbclient.so.1.5.1 /usr/lib/libfbclient.so.1
> ln -s /usr/lib/libfbclient.so.1 /usr/lib/libfbclient.so
> ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so.0
> ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so
>
> The firebird.msg file from the server installation has been copied to
> the /opt/firebird directory on the client machine.
>
> The FIREBIRD environment variable has been created on the client
> machine and ponted to /opt/firebird.
>
> Apache 2.x and PHP 5.x have been successfully installed and tested. I
> need now to add the --with-interbase extension.
>
> CONFIGURATION ERROR:
>
> In attempting to configure php to use the --with-interbase option, I
> have repeatedly hit the following error:
>
> configure: error: libgds, libib_util or libfbclient not found! Check
> config.log for more information.
>
> NEED:
>
> I have been unable to resolve or to workaround this problem. I've
> literally tried 'everything' (including twice reinstalling the
> operating system and all patches), over a 24+ hour period...
>
> I am deeply appreciative of any expert assistance that can be lent in
> resolving this issue (and educating this user).
>
> The previous installation done 2+ years ago, compiled without
> difficulty.
>
>
> Thanks....
>
>
>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>