Probably Solved, was Re: What's the gotcha with latest lang/php55?

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue May 26 09:23:50 UTC 2015


On Tue, 26 May 2015 02:07-0700, David Benfell wrote:

> On Tue, May 26, 2015 at 07:29:13AM +0100, Matthew Seaman wrote:
> > 
> > In the second case, you need consistent ZTS settings in all your PHP
> > packages, including the base language and such things as www/mod_php55.
> >  Check the contents of /usr/local/lib/php.  There will be a directory
> > for loadable modules called eg. either '20121212' or '20121212-zts.'
> > You certainly shouldn't have both.  To cure this problem, you will need
> > to reinstall as many of the php packages as necessary to ensure
> > consistent settings: it may be easier just to reinstall everything PHP
> > related.
> > 
> I took the opportunity to upgrade to php56 and indeed, things seem to
> be working again. *But* it looks like I screwed this up on my other
> server (oh, oh, my....).

Going from lang/php5 to lang/php56 was an interesting lesson a few 
weeks ago. I whipped up this script to ease the pain:

http://ximalas.info/~trond/create-zfs/canmount/upgrade-to-lang-php56.sh

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list