#29991 [Opn]: After compile and install the "php" command returns 'Segmentation fault'
| From: | jesse at eonstreet dot com | Date: | Mon, 06 Sep 2004 00:50:07 +0000 |
| Subject: | #29991 [Opn]: After compile and install the "php" command returns 'Segmentation fault' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65776@lists.php.net to get a copy of this message | ||
ID: 29991
User updated by: jesse at eonstreet dot com
Reported By: jesse at eonstreet dot com
Status: Open
Bug Type: Compile Failure
Operating System: RedHat as 3
PHP Version: 5.0.1
New Comment:
The config that I tried was:
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i386-redhat-linux --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/lib/httpd/modules
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-curl --with-dom=/usr
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr
--with-gd --with-ttf --with-jpeg-dir=/usr --with-openssl --with-png
--with-pspell --with-xml --with-zlib ---enable-exif --enable-ftp
--enable-magic-quotes --with-pear=/usr/share/pear -with-ldap=shared
--with-mysql=shared,/usr --enable-soap
--with-libxml-dir=/usr/include/libxml2 --with-apxs2=/usr/sbin/apxs
--with-apxs2filter=/usr/sbin/apxs
Previous Comments:
------------------------------------------------------------------------
[2004-09-06 02:06:17] jesse at eonstreet dot com
Description:
------------
Hello,
After configuring and compiling php 5.0.1 a number of times I can
not get any result except 'Segmentation fault'. Neither the command
line nor apache will give any response.
I have updated the libxml2 to version 2.6.12 by geting the tar.gz from
xmlsoft.org
I do not have loadModule php4.... anywhere in my httpd.conf
root@myserver# ./configure --(see below)
root@myserver# make
root@myserver# make install
root@myserver# php
Segmentation fault
if there is a list of extensions that no longer work in php5 or that
cause this type of problem it woould be very helpful if someone whould
post it or include it in the install docs.
### Configure line ###
--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i386-redhat-linux' '--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-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-dom=/usr'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf'
'--with-ttf'
'--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl'
'--with-png'
'--with-pspell' '--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-pcre=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--enable-mbregex' '--without-oci8' '--with-pear=/usr/share/pear'
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos'
'--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath'
'--enable-shmop' '--enable-versioning' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mcal'
'--with-apxs2filter=/usr/sbin/apxs'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29991&edit=1