update PHP

Miroslav Lachman 000.fbsd at quip.cz
Sat Nov 28 21:22:37 UTC 2015


Carmel NY wrote on 11/28/2015 21:45:
> On Sat, 28 Nov 2015 19:21:10 +0100, Miroslav Lachman stated:
>
>> pkg query %o `pkg info -r php55 | tail -n +2` | sed 's~php5~php56~' >
>> my_php_ports
>
> That list 1154 ports.

I am sorry I sent you a wrong command :) I tried it on my server with 
PHP 5.5 (port lang/php55) but you have 5.4 (port lang/php5)
So this part "pkg info -r php55" should be "pkg info -r php5" in your case.

fixed:

pkg query %o `pkg info -r php5 | tail -n +2` | sed 's~php5~php56~' > 
my_php_ports

>
> pkg query %o `pkg info -r php5 | tail -n +2` results in 22 ports.
>
> print/pecl-pdflib
> www/pecl-APC
> www/php5-session
> textproc/php5-xml
> security/php5-filter
> archivers/php5-bz2
> databases/phpmyadmin
> converters/php5-iconv
> textproc/php5-ctype
> net/phpldapadmin
> security/php5-mcrypt
> security/php5-openssl
> devel/php5-gettext
> archivers/php5-zip
> converters/php5-mbstring
> databases/php5-mysqli
> devel/php5-json
> www/mod_php5
> archivers/php5-zlib
> graphics/php5-gd
> net/php5-ldap
> security/php5-hash
>
> Wouldn't I only need to rebuild those 22 ports?
>

Yes, it seems reasonable.

The 5.6 version should be

www/pecl-APC
www/php56-session
textproc/php56-xml
security/php56-filter
archivers/php56-bz2
databases/phpmyadmin
converters/php56-iconv
textproc/php56-ctype
net/phpldapadmin
security/php56-mcrypt
security/php56-openssl
devel/php56-gettext
archivers/php56-zip
converters/php56-mbstring
databases/php56-mysqli
devel/php56-json
www/mod_php56
archivers/php56-zlib
graphics/php56-gd
net/php56-ldap
security/php56-hash

Miroslav Lachman



More information about the freebsd-ports mailing list