Correct procedure for upgading from php4 to php5

Mike Loiterman mike at ascendency.net
Mon Dec 19 10:28:47 PST 2005


What would be the correct way to upgrade from php4 to php5?

I tried:

# portupgrade -rRno /usr/ports/www/mod_php5 mod_php4-4.4.1_3,1

But that only shows that it would upgrade the mod_php4 port and skip
everything else:

 --->  Listing the results (+:done / -:ignored / *:skipped / !:failed) 
         - lang/perl5.8 (perl-5.8.7) 
         - converters/libiconv (libiconv-1.9.2_1) 
         - textproc/expat2 (expat-1.95.8_3) 
         - www/apache20 (apache-2.0.55_2) 
         + www/mod_php5 (mod_php4-4.4.1_3,1) 
         - databases/php4-mysql (php4-mysql-4.4.1_3) 
         - devel/php4-tokenizer (php4-tokenizer-4.4.1_3) 
         - devel/php4-gettext (php4-gettext-4.4.1_3) 
         - archivers/php4-zlib (php4-zlib-4.4.1_3) 
         - sysutils/php4-posix (php4-posix-4.4.1_3) 
         - lang/php4-overload (php4-overload-4.4.1_3) 
         - archivers/php4-bz2 (php4-bz2-4.4.1_3) 
         - textproc/php4-xml (php4-xml-4.4.1_3) 
         - security/php4-mcrypt (php4-mcrypt-4.4.1_3) 
         - textproc/php4-ctype (php4-ctype-4.4.1_3) 
         - security/php4-mhash (php4-mhash-4.4.1_3) 
         - security/php4-openssl (php4-openssl-4.4.1_3) 
         - databases/adodb (adodb-4.68) 
         - graphics/phplot (phplot-4.4.6_2) 
         - converters/php4-mbstring (php4-mbstring-4.4.1_3) 
         - graphics/php4-gd (php4-gd-4.4.1_3) 
         - graphics/jpgraph (jpgraph-1.19) 
         - devel/php4-pcre (php4-pcre-4.4.1_3) 
         - www/php4-session (php4-session-4.4.1_3) 
         - www/eaccelerator (eaccelerator-0.9.4.r1_1) 
         - www/phpSysInfo (phpSysInfo-2.3) 
         - print/pecl-pdflib (pecl-pdflib-2.0.4) 
         - www/phpwiki (phpwiki-1.2.10_1) 
         - lang/php4-extensions (php4-extensions-1.0) 
         - www/gallery2 (gallery2-2.0.2) 
         - mail/squirrelmail (squirrelmail-1.4.5_2) 
         - www/drupal (drupal-4.6.4) 
         - databases/phpmyadmin (phpMyAdmin-2.7.0.1)

How can I get it to upgrade the other php4 ports to their respective php5
versions?

------------------------------
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: mike at ascendency.net
PGP Key: 0xD1B9D18E



More information about the freebsd-questions mailing list