Segmentation fault

Mad Unix madunix at gmail.com
Tue May 8 13:42:46 UTC 2007


I am trying to install Apache MySQL and PHP on Linux redhat for PowerPC
64bit
apache running correctly when i try to recompile php with it, it gave an
error

[root at localhost php-5.2.1]# /usr/sbin/apachectl start
/usr/sbin/apachectl: line 102:   815 Segmentation fault      $HTTPD $OPTIONS
-k $ARGV

When I remove libphp5 from the httpd.conf, i mean
If i comment this line, then restart apache, no crashing.
#LoadModule php5_module        /usr/lib/httpd/modules/libphp5.so

I can start the apache wiyhout any probs, any help?

[root at localhost test]# /usr/sbin/apachectl stop
httpd (no pid file) not running
[root at localhost test]# /usr/sbin/apachectl start
[root at localhost test]# ps -ef | grep http
root     14994     1  4 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   14995 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   14996 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   14997 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   14998 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   14999 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   15000 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   15001 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
apache   15002 14994  0 10:38 ?        00:00:00 /usr/sbin/httpd -k start
root     15004 14959  0 10:38 pts/3    00:00:00 grep http


my PHP recompile options are
[root at localhost php-5.2.1]# ./configure --with-mysql
--with-apxs2=/usr/sbin/apxs

-- 
madunix



More information about the redhat-list mailing list