php5 upgrade today

Ryan Schmidt ryandesign at macports.org
Fri May 23 14:54:40 PDT 2008


On May 23, 2008, at 15:36, Mark Hattam wrote:

> I saw Ryandesign's php update this morning, and I just ran a
>
> Powerbook:~ $ sudo port -d selfupdate
>
> then a
>
> Powerbook:~ $ sudo port outdated
> The following installed ports are outdated:
> php5                           5.2.6_0 < 5.2.6_1
>
> But then doing a upgrade outdated failed ...
>
> Powerbook:~ $ sudo port upgrade outdated
> --->  Activating php5 5.2.6_0+apache2+macosx+mysql5+sqlite
> Error: Activating php5 5.2.6_0 failed: Image error: php5
> @5.2.6_0+apache2+macosx+mysql5+sqlite is already active.
>
> the "upgrade outdated" usually works for me, so what am I doing wrong
> this time?

hmm.... I have to recommend uninstalling your php5 and cleaning your  
php5 work directory, then building the new one.

sudo port -f uninstall php5 @5.2.6_0+apache2+macosx+mysql5+sqlite
sudo port clean --work php5
sudo port install php5 +apache2 +mysql5 +sqlite



More information about the macports-users mailing list