Re: Segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you have a point
You apache was compiled as 64 bit while PHP was
not or vice versa. Not PHP problem.
so what shall i do ????
how to make both recompiled on the same level 64bit

On 5/8/07, Troy Knabe <knabe@xxxxxxxxxxx> wrote:

Php is a 32 bit application and requires 32bit libraries.

-Troy

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:
redhat-list-bounces@xxxxxxxxxx] On Behalf Of m.roth2006@xxxxxxx
Sent: Tuesday, May 08, 2007 1:12 PM
To: General Red Hat Linux discussion list
Subject: Re: Segmentation fault

Hey, madunix,

>Date: Tue, 8 May 2007 15:42:46 +0200
>From: "Mad Unix" <madunix@xxxxxxxxx>
>
>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@localhost php-5.2.1]# /usr/sbin/apachectl start
>/usr/sbin/apachectl: line 102:   815 Segmentation fault      $HTTPD
$OPTIONS
<snip>
>my PHP recompile options are
>[root@localhost php-5.2.1]# ./configure --with-mysql
>--with-apxs2=/usr/sbin/apxs

Lessee, I assume you follow that with make and make install. It sounds to
me, and this is just a guess, that the compile might be defaulting to 32
bit, and you might need some extra switches. I see that gcc has -mpowerpc64,
for example.

    mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
madunix
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux