PHP upgrade from 5.2.8 to latest

Hello,

I just did "portsnap fetch update" and I want to upgrade the installed php 5.2.8 to the latest version fetched, here's "php -v" and "php-cgi -v"

Code:
srv50# php-cgi -v
PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cgi-fcgi) (built: Jan 23 2009 09:27:11)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
srv50# php -v
PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Jan 23 2009 09:27:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo

How can i safely upgrade php keeping everything working (like fastcgi, xchache, etc..) ?
 
I'm using PHP as an Apache module, so my settings might differ from yours. I used $ portupgrade php5, and then $ portupgrade php5-\* for the extensions. For portmaster, $ portmaster -Bd php5-\* should work.
 
ok i did "rehash" and portupgrade worked perfectly :) upgraded to php 5.2.10 and all extensions, thanks alot for the help.
 
Back
Top