Invoking auto-update causes php error after upgrade.
-
Current version: 2.1-DEVELOPMENT
Built On: Fri Nov 25 14:30:42 EST 2011
New version: Mon May 28 13:55:14 EDT 2012After upgrading and reboot I got this (see attach).
I've lost 2hrs of my life getting it back to work 8), because i am not freebsd guru, it took time :)
-
If you go to the shell, what does "php -v" show?
-
This is before update:
php -v
PHP 5.2.17 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: Sep 29 2011 13:17:40)
Copyright 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
I am using http://files.pfsense.org/jimp/ipv6/pfSense-2.1-DEVELOPMENT-i386.iso.gz with modification made by me - I am running foo2zjs package (CUPS) and I did gitsync in January 2012 (master branch)
Right after upgrade, see screenshot
I've found also that there were wrong settings on firmware update page, stable branch selected, gitsync after upgrade also, but with master branch. I think this was the culprit.
Anyway I'll try to play with it in virtual machine and let you know
-
If i select freebsd 8.3 based -2.1 DEVELOPMENT branch then update is OK.
So problem is solved. -
If you were on 2.1, and you ended up with PHP 5.2.x, then somehow you downgraded yourself to 2.0.x.
Once you go up to 2.1, you can't back down to 2.0.x or you will have all kinds of problems, including what you saw (where it's trying to load PHP extensions from PHP 5.3, which don't work on PHP 5.2)