Subject how to get php-cgi and firebird working
I've gotten firebird working with Apache and PHP 5.1.4 without any
problems. My only problem now is getting the php cgi that compiles
with PHP working with firebird.

I need the php-cgi because we have a script that is going to be run
by cron to sync a mysql database with firebird. I've read that I need
to compile pdo_firebird when I compile php and i've done that using
the pdo_firebird that ships with the php 5.1.4 source.

I've executed php-cgi -m and don't see pdo_firebird. Checking the
phpinfo page I made for apache shows that pdo_firebird is enabled at
least on the apache side.

Does anyone have an idea on how to get php-cgi working with firebird?


Below is what i've compiled php with:

'./configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux'
'--target=i386-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/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-libdir=lib' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--disable-debug'
'--with-pic' '--disable-rpath' '--with-pear' '--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-expat-dir=/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-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-gd' '--disable-dom' '--disable-dba' '--without-unixODBC'
'--disable-xmlreader' '--disable-xmlwriter'
'--with-interbase=/opt/firebird'
'--with-magickwand=/usr/local/lib/ImageMagick-6.2.7'
'--with-mysql=/usr/lib/mysql' '--with-pdo_firebird'