Ben Munat wrote:
Hello list,
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?
Thanks,
Ben
I would say the chances are 50/50 :) It really depends on what is being
used. If you have a lot of complex applications, that use a lot of PEAR
or other PHP packages it might take a few goes to get all the packages
you need for php5. Also if you have a lot of applications that still
are not compatible with PHP 5 (which is my case I believe, still need to
find time to go and check it), you will run into problems.
I've read somewhere about people moving to php5 will run php4 through
cgi, and then just process the document extensions differently. (a
simple bash script could go through several sub direcotries renaming all
.php to .php4). Just some thoughts.
I'd ask you keep us , and specifically me , updated on how well the
process goes :D