Is there PHP 5.2.x in ports? yes.

ML ml at
Sat Apr 24 07:28:52 UTC 2010

Le 24 avr. 2010 à 00:37, Антон Клесс a écrit :

> There are no archivers/php52-zlib.
> So, it is unavailable to install lang/php52 with lang/php5-extensions,
> having zlib extension choosen at make config.
> 2010/4/24 Olivier Mueller <om-lists-bsd at>
>> On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote:
>>> On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller <om-lists-bsd at>
>> wrote:
>>>> And if you are patient, some devs are planing to add a php52 port,
>> there
>>>> is even something in the PR DB :
>>>>  (but I don't
>>>> know how active they are, maybe asking on freebsd-ports would be
>>>> better).
>>> lang/php52 has been added to the ports tree.
>> wow, that was quick... cool! thanks for the information :)
>> ( )

I wonder what's the best way to switch from php5 tree to php52 tree ?
- uninstall + reinstall all php5+pecl ports ?
- use ALT_PKG in pkgtools.conf (I'm using portupgrade) ?
- what else ? maybe some PHP_VERSION in make.conf ?

I have some tens servers to upgrade and I'm looking for a script which I can run on all of them. They are not identical (not same php/pecl extensions), this is why I'm looking for some sort of automatic solution.

Thanks for any help.


More information about the freebsd-ports mailing list