HI there,
I am trying to install php 4.3.6 on a Redhat 7.0 system. I downloaded
the source, unpacked and ran this configure command:
./configure --prefix=/usr/local/ --with-config-file-path=/usr/local/lib/
--with-gd --with-jpeg-dir --with-png-dir --with-tiff-dir --with-ttf
--enable-force-cgi-redirect --enable-safe-mode --with-zlib --enable-ftp
--enable-versioning --enable-url-includes --enable-gd-native-ttf
--enable-trans-sid --enable-dbase --with-db2 --with-ldap --enable-bcmath
--enable-calendar --enable-discard-path --enable-memory-limit
--with-imap --with-mcal --with-bz2 --with-mod-dav --enable-sockets
--with-kerberos/--with-imap-ssl --enable-gd-imgstrttf
--with-freetype-dir --with-curl --with-apxs --with-mysql --with-mhash
--with-gdbm --with-pgsql --with-gettext --with-xml --with-mcrypt
Everything looks fine. I then make and make install with no errors. If I restart apache and check phpinfo everything is fine and php is updated to new version. The only problem is when I try to use the php binary I get "Segmentation fault (core dumped)". I managed to work out that if I remove --with-gdbm --with-pgsql from my configure, the binary executes with no problems. I still have a problem because I do need these options enabled.
I was trying out different releases and found that this issue with the binary occurs with versions 4.3.2 and up. 4.3.1 is the version of my cgi php at the moment.
Any help would be much appreciated, I am not sure where to look.
Thanks,
Darren
I am trying to install php 4.3.6 on a Redhat 7.0 system. I downloaded
the source, unpacked and ran this configure command:
./configure --prefix=/usr/local/ --with-config-file-path=/usr/local/lib/
--with-gd --with-jpeg-dir --with-png-dir --with-tiff-dir --with-ttf
--enable-force-cgi-redirect --enable-safe-mode --with-zlib --enable-ftp
--enable-versioning --enable-url-includes --enable-gd-native-ttf
--enable-trans-sid --enable-dbase --with-db2 --with-ldap --enable-bcmath
--enable-calendar --enable-discard-path --enable-memory-limit
--with-imap --with-mcal --with-bz2 --with-mod-dav --enable-sockets
--with-kerberos/--with-imap-ssl --enable-gd-imgstrttf
--with-freetype-dir --with-curl --with-apxs --with-mysql --with-mhash
--with-gdbm --with-pgsql --with-gettext --with-xml --with-mcrypt
Everything looks fine. I then make and make install with no errors. If I restart apache and check phpinfo everything is fine and php is updated to new version. The only problem is when I try to use the php binary I get "Segmentation fault (core dumped)". I managed to work out that if I remove --with-gdbm --with-pgsql from my configure, the binary executes with no problems. I still have a problem because I do need these options enabled.
I was trying out different releases and found that this issue with the binary occurs with versions 4.3.2 and up. 4.3.1 is the version of my cgi php at the moment.
Any help would be much appreciated, I am not sure where to look.
Thanks,
Darren