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. -- regards, Georges Toth -- [EMAIL PROTECTED] mailing list
