From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ij07B-0007I3-LN for garchives@archives.gentoo.org; Fri, 19 Oct 2007 22:14:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9JM1QTO004760; Fri, 19 Oct 2007 22:01:26 GMT Received: from munat.net (munat.com [66.219.59.245]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9JM1OcZ004660 for ; Fri, 19 Oct 2007 22:01:24 GMT Received: from localhost (localhost [127.0.0.1]) by localhost.munat.org (Postfix) with ESMTP id E16924000AC for ; Fri, 19 Oct 2007 15:01:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at munat.net X-Spam-Score: -2.194 X-Spam-Level: X-Spam-Status: No, score=-2.194 tagged_above=-100 required=4.51 tests=[AWL=0.405, BAYES_00=-2.599] Received: from munat.net ([127.0.0.1]) by localhost (munat.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fbyBmNObEug6 for ; Fri, 19 Oct 2007 15:01:20 -0700 (PDT) Received: from ben-munats-computer.local (chipin [167.216.11.2]) by munat.net (Postfix) with ESMTP id 60623400035 for ; Fri, 19 Oct 2007 15:01:20 -0700 (PDT) Message-ID: <47192924.7050605@munat.com> Date: Fri, 19 Oct 2007 12:01:08 -1000 From: Ben Munat User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 To: gentoo-server@lists.gentoo.org Subject: Re: [gentoo-server] php 4 to 5 References: <47191EFC.5050001@munat.com> <200710192329.24185.georges@norm.lu> In-Reply-To: <200710192329.24185.georges@norm.lu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 07c0ec4b-b58c-40b8-91eb-5dd6a99abdb5 X-Archives-Hash: 7496bdae8a790da76205298e35f632e4 Thanks to both Georges and Ryan for their replies. Yeah, I suppose it would have made sense for me to mention what I'm using. I have phppgadmin, phpmyadmin, squirrelmail, and postfixadmin (in an overlay, and unfortunately with some customization) on my machine. I think at least the first three are php5-ready. For custom stuff, there is one complete site -- written by my brother -- using php. Hopefully it's not using any php4-specific stuff. I think he does use some PEAR modules... MDB2, Http_Client, etc. Luckily I think that site's going to reach end-of-life soon (was an internal site for a research project), so maybe this update will rush that along. :-) Other than this, there are a few pages here and there that use some php. I don't think any of those use any libraries or fancy stuff... hopefully not. Now, I should not need to re-emerge the webapps (phpmyadmin, etc.), right? They don't have any compiled code. I'd rather not deal with the configs if possible. I will re-emerge all the PEAR/PECL stuff though. Will write again to let you know how it went. Ben PS: Hmm, so the email the other day said that php4 would be removed from the tree yesterday. So, I suppose that this means that if I move to php5 there's no way to move back to php4? :-o Georges Toth wrote: > Hi Ben, > >> So, I know I'm a bad gentoo administrator and all, but I am just getting >> around to moving from php 4 to 5. Was wondering if anyone knew of any >> gotchas to watch out for or guides to help with the process. Everything I'm >> finding through google seems to be about the update from the old php >> packages to dev-lang/php, which I did a long time ago. >> >> It would be really sweet if I could just unmask php and emerge. What are >> the chances of it being that easy? > > It depends on the php scripts you use. > If they are php5 compatible, the migration should be smooth. > php-dependant libraries need to be re-emerged, same goes for pecl packages > (pecl4 -> pecl5). > > If you've got scripts which are php5 incompatible, you have a problem. > One solution is to run php4 as cgi for that specific docroot, or have both > php4 and php5 running as modules using the concurrent patch (but I wouldn't > advise that as it *sadly* isn't supported upstream). > > > I just wish they would make it easier for running different php versions on > the same server, as apache modules....and now with php6 being > released "soon".... but oh well ;-) > > > Hope this helped. > > -- gentoo-server@gentoo.org mailing list