Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache and PHP5
Date: Sun, 05 Dec 2010 10:10:58
Message-Id: 201012051109.23417.Dan.Johansson@dmj.nu
In Reply to: Re: [gentoo-user] Apache and PHP5 by Mick
1 On Sunday 05 December 2010 10.02:48 Mick wrote:
2 > On Saturday 04 December 2010 19:27:57 Dan Johansson wrote:
3 > > Today I emerged mysql, apache, PHP5, phpmyadmin and joomla on a Laptop
4 > > (~x86) to be able to play a bit with Joomla. But I can not get phpmyadmin
5 > > or Joomla to work (both with the same error).
6 > >
7 > > Mysql and apache starts OK and the the phpmyadmin setup page
8 > > (http://localhost/phpmyadmin/setup) loads fine - but when I press the
9 > > Save-button all I get back is a blank page (the same is true for Joomla -
10 > > after selecting the language and pressing Next - all I get is a black
11 > > page)- In apache's error-log I see the following in both cases:
12 > >
13 > > [Sat Dec 04 19:54:35 2010] [notice] child pid 3134 exit signal Segmentation
14 > > fault (11)
15 > >
16 > > I've had a look at bugs.gentoo.org but could not find anything with
17 > > php-5.3.3 or Apache-2.2.16 (just with older versions of php and Apache).
18 > >
19 > > Any suggestions on where to start to search for a solution or still better
20 > > a solution?
21 >
22 > This is a pretty obscure fault. It could be some module clash that leads to
23 > it. You could try disabling modules you don't need to see what gives, or try
24 > emerging older packages.
25
26 In the meantime I did open a bug (http://bugs.gentoo.org/show_bug.cgi?id=347782) and prompt got a suggestion on what the problem is. The problem is with sys-devel/gcc, I had version 4.5.1-r1 installed and apache does not get cleanly compiled with this version. After reverting back to gcc version 4.4.5 and recompiling apache everything works OK (so far).
27
28 --
29 Dan Johansson, <http://www.dmj.nu>
30 ***************************************************
31 This message is printed on 100% recycled electrons!
32 ***************************************************