Upgrading PHP5

Ryan Schmidt ryandesign at macports.org
Sat Jul 18 12:23:00 PDT 2009


On Jul 18, 2009, at 08:14, Chris Janton wrote:

> I see that PHP5 is going to change its ways.
>
> I currently have the following installed
>
>    php5 @5.3.0_0+apache2+macosx+mysql5+pear (active)
>
> It appears that I will need to install (eventually)
>
> php5-curl php5-gd php5-gmp php5-imap php5-mcrypt php5-pspell php5- 
> readline php5-tidy php5-xsl php5-zlib
>
> and probably more.
>
> If I do a simple ''port upgrade php5'' will it automatically  
> install each of the new parts?

No, they won't. They can't be, because they can't be declared as  
dependencies of php5, because they are dependents of php5. For each  
of those which was formerly a variant (imap gmp pspell readline tidy)  
a message will be prineted telling you to install the corresponding  
new port. For the other features, which used to be always-on, there  
is no message.

I will be breaking more features out into more new ports as I have time.

php5-zlib will be deleted again. I changed my mind. zlib  
functionality is so useful and zlib is so small that I'll make it  
always-on again with the next upgrade.




More information about the macports-users mailing list