FreeBSD 8.0 -> PHP 5.3.x
paul at ifdnrg.com
Thu Oct 6 17:55:53 UTC 2011
On 06/10/2011 16:55, Grant Peel wrote:
> Hi all,
> Short of upgrading the OS, what is the safest way to upgrade a FreeBSD server to PHP 5.3.x from 5.2.11 ?
> I am assuming downloading the ports tarball and rebuilding and reinstalling will do it?
> Any advice, samples would be appreciated,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
It's not too traumatic an upgrade, and initially is as simple as you
remember to uninstall extenstions via the meta port
lang/php52-extensions (and reinstall desired extensions via
further suggestions, *
*copy the config make options from phpinfo() on 5.2 as it'll help you
remember what you need for 5.3.
keep a copy of you php.ini obv also.
you'll likely know but 5.3 is quite different from 5.2 so there's a few
gotchas, such as changes to log levels, no more register globals, you
must explicitly use $_POST or $_GET
no more register_long_arrays, you cannot use $HTTP_POST_VARS
short tags are probably off round about that version,
if i recall, there was some changes to a lot of my $_SESSION code so
check any code that uses that, (but this could well have been my
More information about the freebsd-questions