Date: Wed, 18 Jun 2014 18:32:20 +0200 From: "Dr. Peter Voigt" <pvoigt@uos.de> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Wed, 18 Jun 2014 13:09:20 +0200 schrieb Kurt Jaeger <lists@opsec.eu>: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140618183220.28bd95cd>