Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Slotted PHP behavior
Date: Tue, 04 Jan 2011 19:43:46
Message-Id: AANLkTi=+3eASe2Ec7mJH_uJy+ADHJGCULrweNcu1gfKR@mail.gmail.com
In Reply to: Re: [gentoo-user] Slotted PHP behavior by Hung Dang
1 > I just upgraded to php-5.3.4 which I believe went into a new slot. Is
2 > slotted behavior new for PHP? I think things have been rearranged.
3 > Can someone clue me in to the new layout? For example, I get:
4 >
5 > # /etc/init.d/apache2 restart
6 > * Caching service dependencies ...
7 > * apache2 has detected an error in your setup:
8 > apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax
9 > error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot
10 > load /usr/lib64/apache2/modules/libphp5.so into server:
11 > /usr/lib64/apache2/modules/libphp5.so: cannot open shared object file:
12 > No such file or directory
13 >
14 > - Grant
15 >
16 > I had a similar problem before and I did solve it by running this command:
17 > eselect php set apache2 php5.3. I believe I get this command from a Gentoo
18 > official PHP guide.
19 >
20 > Hung
21
22 Thank you, that fixed it. I'm getting some errors in squirrelmail but
23 functionality seems to be intact.
24
25 Since things seem to be working with php-5.3.4, how can I get rid of
26 the older version of php that must be installed in another slot? I'm
27 hoping that simplifies things a bit. PHP on Gentoo just got more
28 complicated and all I need out of it is squirrelmail. Actually, I
29 wish there was a decent webmail client that didn't depend on PHP at
30 all so I could remove it.
31
32 - Grant

Replies

Subject Author
Re: [gentoo-user] Slotted PHP behavior "Duong \\\"Yang\\\" Ha Nguyen" <cmpitg@×××××.com>
Re: [gentoo-user] Slotted PHP behavior Michael Orlitzky <michael@××××××××.com>
Re: [gentoo-user] Slotted PHP behavior Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] Slotted PHP behavior Neil Bothwick <neil@××××××××××.uk>