From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 02:42:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D0F16A41F for ; Tue, 20 Dec 2005 02:42:02 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 040DB43D62 for ; Tue, 20 Dec 2005 02:42:01 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.1/8.13.1) with ESMTP id jBK2fVCl003318; Mon, 19 Dec 2005 20:41:40 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <43A76F54.1020407@daleco.biz> Date: Mon, 19 Dec 2005 20:41:24 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051026 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mike@ascendency.net References: <017c01c604ca$03d6c6f0$0401a8c0@Mike8500> In-Reply-To: <017c01c604ca$03d6c6f0$0401a8c0@Mike8500> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Correct procedure for upgading from php4 to php5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 02:42:02 -0000 Mike Loiterman wrote: >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? > > > I assume lang/php4-extensions is installed? What if you use a comparable command on that target? Incidentally: as you probably know, several of the packages listed (e.g. squirrelmail, phpwiki, gallery, etc.) are independent of your PHP version and would only be "upgraded" if newer versions have been released, AFAIK. Kevin Kinsey -- A yawn is a silent shout. -- G. K. Chesterton