update PHP

Carmel NY carmel_ny at outlook.com
Fri Nov 27 11:40:50 UTC 2015


I am running a FreeBSD 10.2 - p7 machine. I have PHP 5.4 installed . I want
to update it to version 5.6. Would this method work:

portupgrade -o lang/php56 lang/php5

Then:

portupgrade -o lang/php56-extensions lang/php5-extensions

Would I l then need to rebuild everything that depends on PHP or could I just
add the "-r" flag to portupgrade?

These are all of the installed PHP ports:

pkg info php5\* > ~/installed-php-ports-list

php5-5.4.45
php5-bz2-5.4.45
php5-ctype-5.4.45
php5-filter-5.4.45
php5-gd-5.4.45_1
php5-gettext-5.4.45
php5-hash-5.4.45
php5-iconv-5.4.45
php5-json-5.4.45
php5-ldap-5.4.45
php5-mbstring-5.4.45
php5-mcrypt-5.4.45
php5-mysqli-5.4.45
php5-openssl-5.4.45
php5-session-5.4.45
php5-xml-5.4.45
php5-zip-5.4.45
php5-zlib-5.4.45

pkg info -r php5                            
php5-5.4.45:
        pecl-pdflib-3.0.4
        pecl-APC-3.1.14_1
        php5-session-5.4.45
        php5-xml-5.4.45
        php5-filter-5.4.45
        php5-bz2-5.4.45
        phpMyAdmin-4.5.1
        php5-iconv-5.4.45
        php5-ctype-5.4.45
        phpldapadmin-1.2.3_7,1
        php5-mcrypt-5.4.45
        php5-openssl-5.4.45
        php5-gettext-5.4.45
        php5-zip-5.4.45
        php5-mbstring-5.4.45
        php5-mysqli-5.4.45
        php5-json-5.4.45
        mod_php5-5.4.45,1
        php5-zlib-5.4.45
        php5-gd-5.4.45_1
        php5-ldap-5.4.45
        php5-hash-5.4.45

-- 
Carmel


More information about the freebsd-ports mailing list