Subject Re: Fw: [Firebird-devel] PHP Interbase 'Improvements'
Author rodries2
--- In firebird-php@yahoogroups.com, "Daniela Mariaschi" <nyx@i...>
wrote:
> > Hola Daniela
> >
> > Have you tried to compile Interbase module with Firebird 1.5 in
linux?
> >
> > The system hangs when you connect to a database ( segfault in
appache
> > error log)
> >
> > Could you try to fix it or see what is the problem to tell
firebird
> > developers the error?
>
> Sorry for delay,
>
> Could you give me more info about this?
> I' ve just tested:
> php-4.3.2 + Apache 1.3.27 + FB 1.5 RC3 and it's ok
> php-4.3.2 + Apache 2.0.46 + FB 1.5 RC3 and it's ok
>
> Did you try to run php as stand alone + FB1.5 RC3 ?
> Did you receive a segfault or it happened only with Apache?
>
> Regards
> Daniela

Linux RH8
Apache 2.0.46
FB 1.5 (latest from cvs)
PHP 4.3.2 and 4.3.3RC1

The problam is about some parameter in php configure
My old php configure: (segfault)
configure \
--with-interbase=shared,/usr/local/firebird \
--with-layout=GNU \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/etc \
--with-exec-dir=/usr/bin \
--with-gettext \
--with-openssl \
--with-zlib \
--with-bz2 \
--with-gd \
--with-ttf \
--with-png \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--with-expat-dir=/usr \
--with-gmp \
--with-xml \
--with-mm \
--without-pear \
--with-imap=shared \
--with-imap-ssl \
--with-mysql=shared \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-pgsql=shared \
--with-ldap=shared \
--with-pspell \
--with-kerberos \
--disable-debug \
--disable-rpath \
--disable-posix \
--enable-force-cgi-redirect \
--enable-mbstring=all \
--enable-bcmath \
--enable-pic \
--enable-discard-path \
--enable-safe-mode \
--enable-magic-quotes \
--enable-bcmath \
--enable-dio \
--enable-gd-native-ttf \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-wddx \
--enable-inline-optimization \
--enable-memory-limit \
--enable-trans-sid

My new php configure: (perfect)
configure \
--with-interbase=shared,/usr/local/firebird \
--with-layout=GNU \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/etc \
--with-exec-dir=/usr/bin \
--with-zlib \
--with-bz2 \
--with-gd \
--with-ttf \
--with-png \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--with-expat-dir=/usr \
--with-gmp \
--with-xml \
--disable-debug \
--disable-rpath \
--disable-posix \
--enable-force-cgi-redirect \
--enable-mbstring=all \
--enable-bcmath

I don't find the problematic parameter, but now all works perfectly
Thank you very much