Subject | Re: [firebird-php] Linux FC4 amd64x2 & php & firebird 2 rc1 |
---|---|
Author | Forum |
Post date | 2006-04-06T13:51:41Z |
Hi,
ok i messed up my php again so i reinstalled it. php works, mysql works,
i added the ini entry.
so everything is back to normal.
the interbase.ini is being picked up by php
additional .ini files parsed /etc/php.d/interbase.ini,
/etc/php.d/mysql.ini, /etc/php.d/mysql.ini
i get an error in the httpd log stating
PHP Startup: Unable to load dynamic library
'/usr/lib64/modules/interbase.so'
the file is there but does not seem correct. ( only 5662 bytes)
i think i must build a new .so file but have no idea where to start.
is the interbase.so similar to the libfbclient.so file that is used for
firebird? i know that with my Delphi apps i normally copy this .so or
.dll file to client workstations. does php use the same method of
accessing firebird, or does it make use of it's own special headers and
functions?
Darren Thompson wrote:
ok i messed up my php again so i reinstalled it. php works, mysql works,
i added the ini entry.
so everything is back to normal.
the interbase.ini is being picked up by php
additional .ini files parsed /etc/php.d/interbase.ini,
/etc/php.d/mysql.ini, /etc/php.d/mysql.ini
i get an error in the httpd log stating
PHP Startup: Unable to load dynamic library
'/usr/lib64/modules/interbase.so'
the file is there but does not seem correct. ( only 5662 bytes)
i think i must build a new .so file but have no idea where to start.
is the interbase.so similar to the libfbclient.so file that is used for
firebird? i know that with my Delphi apps i normally copy this .so or
.dll file to client workstations. does php use the same method of
accessing firebird, or does it make use of it's own special headers and
functions?
Darren Thompson wrote:
> yes it says without mysql but you have a mysql.ini file where the[Non-text portions of this message have been removed]
> configuration reads from
> with-config-file-scan-dir i dont see a config with-interbase=/opt/firebird
> in your file?
>
> first find your interbase.so file to make sure you have one if you
> have one
> then type
> #vi /etc/php.d/interbase.ini
> then type
> #extension=interbase.so
> then save and exit and restart apache
> #:wq
> #apacehtl restart
> On 4/6/06, Forum <yahoo_forum@...> wrote:
> >
> > Hi,
> > interbase does not show in phpinfo()
> > how do i add interbase.ini in th php.ini (I'm a newbie to linux so
> > please go slow)
> > what is also odd is that ./configure command contains --without-mysql
> > yet i use mysql and it works.
> >
> > my phpinfo() shows
> > Configure Command './configure' '--build=x86_64-redhat-linux'
> > '--host=x86_64-redhat-linux' '--target=x86_64-redhat-linux-gnu'
> > '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
> > '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
> > '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64'
> > '--libexecdir=/usr/libexec' '--localstatedir=/var'
> > '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> > '--infodir=/usr/share/info' '--cache-file=../config.cache'
> > '--with-libdir=lib64' '--with-config-file-path=/etc'
> > '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic'
> > '--disable-rpath' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin'
> > '--with-freetype-dir=/usr' '--with-png-dir=/usr'
> > '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp'
> > '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png'
> > '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr'
> > '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp'
> > '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem'
> > '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
> > '--enable-trans-sid' '--enable-yp' '--enable-wddx'
> > '--with-pear=/usr/share/pear' '--with-kerberos' '--enable-ucd-snmp-hack'
> > '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop'
> > '--enable-calendar' '--enable-dbx' '--enable-dio'
> > '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite'
> > '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs'
> > '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom'
> > '--disable-dba'
> > Server API Apache 2.0 Handler
> > Virtual Directory Support disabled
> > Configuration File (php.ini) Path /etc/php.ini
> > Scan this dir for additional .ini files /etc/php.d
> > additional .ini files parsed /etc/php.d/dba.ini, /etc/php.d/gd.ini,
> > /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini
> > PHP API 20031224
> > PHP Extension 20041030
> > Zend Extension 220040412
> > Debug Build no
> > Thread Safety disabled
> > IPv6 Support enabled
> > Registered PHP Streams php, file, http, ftp, compress.bzip2,
> > compress.zlib, https, ftps
> > Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3,
> > sslv2, tls
> >
> > Darren Thompson wrote:
> >
> > > try an specify that the php.ini uses ini files for the modules like
> > > interbase.ini and then say extension= interbase.so in that file by
> your
> > > error sounds like interbase is not found in your phpinfo() does it say
> > > interbase enabled?
> > >
> > > On 4/5/06, binaryseti <yahoo_forum@...> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I having problems connecting to firebird in php.
> > > > Specs :
> > > > FC4 running on amd64x2
> > > > php_5.04-10.5
> > > > Firebird 2.0.0.12484-ReleaseCandidate1
> > > >
> > > > ibase_connect returns an error : "call to undifined function
> > > > ibase_connect"
> > > >
> > > > I have tried running
> > > > ./configure --with-interbase=/opt/firebird
> > > > make
> > > > make install
> > > > after this I checked that the interbase.so file was in /usr/lib/php
> > > > I also checked /ect/php.ini for the extension=interbase.so
> > > > after all of this I still get the same error
> > > > php works with mysql and I can connect to my firebird db in delphi.
> > > >
> > > > help anyone
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > > YAHOO! GROUPS LINKS
> > >
> > > * Visit your group "firebird-php
> > > <http://groups.yahoo.com/group/firebird-php>" on the web.
> > >
> > > * To unsubscribe from this group, send an email to:
> > > firebird-php-unsubscribe@yahoogroups.com
> > > <mailto:firebird-php-unsubscribe@yahoogroups.com
> > ?subject=Unsubscribe>
> > >
> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > Service <http://docs.yahoo.com/info/terms/>.
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> * Visit your group "firebird-php
> <http://groups.yahoo.com/group/firebird-php>" on the web.
>
> * To unsubscribe from this group, send an email to:
> firebird-php-unsubscribe@yahoogroups.com
> <mailto:firebird-php-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>