Gentoo Archives: gentoo-user

From: "Stéphane Guedon" <stephane@××××××××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Slotted PHP behavior
Date: Tue, 04 Jan 2011 18:40:43
Message-Id: 201101041939.16745.stephane@22decembre.eu
In Reply to: Re: [gentoo-user] Slotted PHP behavior by Hung Dang
1 On Tuesday 04 January 2011 18:47:30 Hung Dang wrote:
2 > On 01/04/11 10:27, Grant wrote:
3 > > I just upgraded to php-5.3.4 which I believe went into a new slot. Is
4 > > slotted behavior new for PHP? I think things have been rearranged.
5 > > Can someone clue me in to the new layout? For example, I get:
6 > >
7 > > # /etc/init.d/apache2 restart
8 > >
9 > > * Caching service dependencies ...
10 > >
11 > > * apache2 has detected an error in your setup:
12 > > apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax
13 > > error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot
14 > > load /usr/lib64/apache2/modules/libphp5.so into server:
15 > > /usr/lib64/apache2/modules/libphp5.so: cannot open shared object file:
16 > > No such file or directory
17 > >
18 > > - Grant
19 >
20 > I had a similar problem before and I did solve it by running this
21 > command: eselect php set apache2 php5.3. I believe I get this command
22 > from a Gentoo official PHP guide.
23 >
24 > Hung
25
26 I did this just few weeks ago and had to switch back because my web app
27 (wordpress native, not from gentoo) didn't work. Be sure you need this !
28 --
29 Stéphane Guedon
30 page web : http://www.22decembre.eu/
31 carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
32 clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc