is there an easy way (yum install . . .) to add firebird/interbase support to php ? Everything that google came up with suggests downloading php sources and compiling with --with-interbase=/opt/... I ''d rather not do this as I would like to keep php yummable I have php php-5.0.4-5.centos4 thanx
Yiorgos Stamoulis wrote:> is there an easy way (yum install . . .) to add firebird/interbase > support to php ? > > Everything that google came up with suggests downloading php sources and > compiling with --with-interbase=/opt/... > I ''d rather not do this as I would like to keep php yummable >Have you considered loading php-odbc and using the firebird ODBC driver? More to keep up with, I know, but it beats rebuilding php! In my case, I need the Oracle (oci8) support so I end up having to rebuild the php rpms every time a new release comes out anyway. -- Jay Leafey - Memphis, TN jay.leafey@mindless.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5322 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.centos.org/pipermail/centos/attachments/20060330/59062991/smime.bin
I have centos 4.2, php 4.3.9, firebird. Folow these steps: 1 - Download php sources; 2- Edit php.spec file with: --with-interbase=shared,/opt/firebird 3- Run rpmbuild --ba /usr/src/redhat/SPECS/php.spec 4- Copy /var/tmp/php-root/usr/lib/php4/interbase.so file to /usr/lib/php4 5 - Edit php.ini, add this line: extension = interbase.so; 6- Restart apache I hope help you. 2006/3/30, Yiorgos Stamoulis <yiorgos-lists@272deg.homelinux.net>:> > is there an easy way (yum install . . .) to add firebird/interbase > support to php ? > > Everything that google came up with suggests downloading php sources and > compiling with --with-interbase=/opt/... > I ''d rather not do this as I would like to keep php yummable > > I have php php-5.0.4-5.centos4 > > > thanx > _______________________________________________ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos >-- ====================Marcus Tulio T. Carvalho Telemacro Sistemas e Servi?os ====================-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos/attachments/20060331/5209377e/attachment.htm
O/H Marcus Carvalho ??????:> I have centos 4.2, php 4.3.9, firebird. > > Folow these steps: > > 1 - Download php sources; > 2- Edit php.spec file with: --with-interbase=shared,/opt/firebird > 3- Run rpmbuild --ba /usr/src/redhat/SPECS/php.spec > 4- Copy /var/tmp/php-root/usr/lib/php4/interbase.so file to /usr/lib/php4 > 5 - Edit php.ini, add this line: extension = interbase.so; > 6- Restart apache > > I hope help you. > >Marcus thanx, I will follow your advice tonight and report back. Yiorgos