From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 16:56:29 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9485DC2E for ; Wed, 18 Jun 2014 16:56:29 +0000 (UTC) Received: from smtp-auth.serv.Uni-Osnabrueck.DE (vm136.rz.uni-osnabrueck.de [131.173.16.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B5F82907 for ; Wed, 18 Jun 2014 16:56:27 +0000 (UTC) Received: from spock.drpetervoigt.private (p549B4695.dip0.t-ipconnect.de [84.155.70.149]) (authenticated bits=0) by smtp-auth.serv.Uni-Osnabrueck.DE (8.13.8/8.13.8) with ESMTP id s5IGWTxt023835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Jun 2014 18:32:30 +0200 Received: from tiger2008.drpetervoigt.private (tiger2008.drpetervoigt.private [192.168.1.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pvoigt) by spock.drpetervoigt.private (Postfix) with ESMTPSA id B1DD950D33A for ; Wed, 18 Jun 2014 18:32:25 +0200 (CEST) Date: Wed, 18 Jun 2014 18:32:20 +0200 From: "Dr. Peter Voigt" To: freebsd-ports@freebsd.org Subject: Re: Update php from 5.4 to 5.5 ? Message-ID: <20140618183220.28bd95cd@tiger2008.drpetervoigt.private> In-Reply-To: <20140618110920.GI2586@home.opsec.eu> References: <20140618110920.GI2586@home.opsec.eu> Reply-To: "Dr. Peter Voigt" Organization: =?UTF-8?B?VW5pdmVyc2l0w6R0IE9zbmFicsO8Y2s=?= X-Mailer: Claws Mail 3.9.3 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.6.18.162719 (Univ. Osnabrueck) X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report= EU_TLD 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1400_1499 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 0, RDNS_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_SPECIFIC 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REPLYTO 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __RDNS_POOLED_10 0, __REPLYTO_SAMEAS_FROM 0, __REPLYTO_SAMEAS_FROM_ACC 0, __REPLYTO_SAMEAS_FROM_ADDY 0, __REPLYTO_SAMEAS_FROM_DOMAIN 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_PATH 0, __URI_NO_WWW 0 X-PMX-Spam-Level: IIIIIIII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2014 16:56:29 -0000 Am Wed, 18 Jun 2014 13:09:20 +0200 schrieb Kurt Jaeger : > Hi! > > If I would like to upgrade from php 5.4 to 5.5, would this work ? > > portupgrade -o lang/php55 -f lang/php5 > portupgrade -fr lang/php55 > > vi /etc/make.conf > DEFAULT_VERSIONS= php=5.5 > Hi Kurt, just a few days ago I have done the migration from PHP 5.4 to PHP 5.5. My first step was only slightly different: # portmaster -o lang/php55 lang/php5 The subsequent procedure was completely different and I assume I just selected the most complicated way ever :-) I first tried # portmaster -o lang/php55-extensions lang/php5-extensions but this failed with complaints about same installation place of old an new PHP modules. Therefore I went the hard way: I deleted all php5-* modules and then issued # portmaster lang/php55-extensions Then I manually deleted www/mod_php5 and installed the new version: # portmaster www/mod_php55 And finally I figured out all ports depending on lang/php5 re-installed them. If I remember correctly this affected on my machine just nocc and owncloud. A conclusive dependency check # pkg check -dnv revealed no errors. Currently I do not have any PHP related settings in my /etc/make.conf. Although my procedure is probably more complicated than necessary the new PHP version is working as expected. Regards, Peter