Gentoo Archives: gentoo-server

From: Georges Toth <georges@××××.lu>
To: gentoo-server@l.g.o
Cc: Ben Munat <bent@×××××.com>
Subject: Re: [gentoo-server] php 4 to 5
Date: Fri, 19 Oct 2007 21:45:52
Message-Id: 200710192329.24185.georges@norm.lu
In Reply to: [gentoo-server] php 4 to 5 by Ben Munat
1 Hi Ben,
2
3 > So, I know I'm a bad gentoo administrator and all, but I am just getting
4 > around to moving from php 4 to 5. Was wondering if anyone knew of any
5 > gotchas to watch out for or guides to help with the process. Everything I'm
6 > finding through google seems to be about the update from the old php
7 > packages to dev-lang/php, which I did a long time ago.
8 >
9 > It would be really sweet if I could just unmask php and emerge. What are
10 > the chances of it being that easy?
11
12 It depends on the php scripts you use.
13 If they are php5 compatible, the migration should be smooth.
14 php-dependant libraries need to be re-emerged, same goes for pecl packages
15 (pecl4 -> pecl5).
16
17 If you've got scripts which are php5 incompatible, you have a problem.
18 One solution is to run php4 as cgi for that specific docroot, or have both
19 php4 and php5 running as modules using the concurrent patch (but I wouldn't
20 advise that as it *sadly* isn't supported upstream).
21
22
23 I just wish they would make it easier for running different php versions on
24 the same server, as apache modules....and now with php6 being
25 released "soon".... but oh well ;-)
26
27
28 Hope this helped.
29
30
31 --
32 regards,
33 Georges Toth
34 --
35 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] php 4 to 5 Ben Munat <bent@×××××.com>