From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 17:52:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9774316A479 for ; Mon, 15 Oct 2007 17:52:22 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0754F13C4BB for ; Mon, 15 Oct 2007 17:52:21 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id l9FHqIWu054317; Mon, 15 Oct 2007 12:52:18 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UGfwlZoCFO1N; Mon, 15 Oct 2007 12:52:14 -0500 (CDT) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id l9FHq56v054307; Mon, 15 Oct 2007 12:52:09 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4713A8BF.2040203@daleco.biz> Date: Mon, 15 Oct 2007 12:51:59 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: zszalbot@gmail.com References: <001e01c80dff$26f8a4b0$6501a8c0@GRANT> <4711757D.2090305@daleco.biz> <5f7201c80e05$ef460d30$6501a8c0@GRANT> <47139285.6090605@gmail.com> In-Reply-To: <47139285.6090605@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Grant Peel , freebsd-questions@freebsd.org Subject: Re: php4 to php5 upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2007 17:52:22 -0000 zbigniew szalbot wrote: > Grant Peel pisze: >> Hi Kevin, >> >> Yes, I have done many web searches. The only thing that came up that >> was near what I needed was: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html >> >> However, since I can completely remove php4, then install php5, the >> method they talk about there seems a bit tedious. >> >> Thanks for the reply, I thought deinstall and install should do the >> trick.... will let you know how I make out. >> > One thing I came accross, if after installation you get httpd core > dumps, try commenting out extensions in extensions.ini. Then switch them > back one after another to determine which one causes the dump. Then your > option is to change the order of extensions. This is just in case but it > was my problem and I couldn't quickly restore web functionality after > restarting httpd and seeing the crushes. Right, if it happens. If you deinstall the extensions and remove the config files from the old installation, and let the new installation do all its work of new config files and new extensions, I wouldn't expect any httpd core dumps, though. It's happened to me many times, but it was always due to "leftovers" from a minor version increase via portupgrade, or the fact that I had switched Apache from no-SSL to an SSL type, and the extensions were compiled against the libraries for the former. The other "gotcha" in relation to FBSD is the location of the extension dir, and "doubling" of entries in extensions.ini, but I'm thinking a new installation would fix that problem. As far as PHP goes, getting rid of "short tags" in the PHP code was all we had trouble with when migrating 4.x->5.x, other than getting my head around new OOP paradigms.... Kevin Kinsey -- Microbiology Lab: Staph Only!