Re: Segmentation fault



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



Relevant Pages

  • Re: upgrage from 4.1.2 to 4.3.3+?
    ... > every available RPM for the distro...and there isn't one for PHP. ... > And also, I uh, don't believe I've ever recompiled Apache or PHP. ... Well - You could compile your own version of Apache and PHP and place it ... port number - By this I mean, whenever you visit a website, it defaults ...
    (comp.lang.php)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)
  • Re: approaches to PHP-based application interface?
    ... "safe" so that the applicable parts of it can run on a public server. ... One major advantage of sticking with PHP is that my fairly large ... stripped-down browser so it runs as a Windows application without any ... apache involvement. ...
    (comp.lang.php)