From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 19:16:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12F3316A4CE for ; Wed, 9 Mar 2005 19:16:26 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7F443D46 for ; Wed, 9 Mar 2005 19:16:25 +0000 (GMT) (envelope-from jeff.dyke@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so255509rnf for ; Wed, 09 Mar 2005 11:16:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:reply-to:organization:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=eexUTSY2b7wTASOK/1mzyaMSAEXAiEf9LikMWVotsaavrZOEOu5/f/m86eff+IPMDCJkAyCi1+4wJcqXNzTslrlv97e0tQIHs/9nLUeL8sN6bLfzo5KppgBViFVKNSykJHNglWAipE7/defAl/jg5FXCRTC+R10vyJa+Kr+ty3o= Received: by 10.38.171.69 with SMTP id t69mr1105360rne; Wed, 09 Mar 2005 11:16:24 -0800 (PST) Received: from ?192.168.2.45? ([66.9.108.98]) by mx.gmail.com with ESMTP id k4sm1066005rnd.2005.03.09.11.16.24; Wed, 09 Mar 2005 11:16:24 -0800 (PST) Message-ID: <422F4B81.1000206@azimapower.com> Date: Wed, 09 Mar 2005 14:16:17 -0500 Organization: Azima Inc. User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: jdyke Subject: Re: apache upgrade 1.3 -> 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jdyke@azimapower.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 19:16:26 -0000 Christopher Nehren wrote: > On 2005-03-09, Perttu Laine scribbled these > curious markings: > >>Is it easy (or possible even) to upgrade apache 1.3 to 2 with ports. >>I'm running apache-1.3.33_1 with php5 and mysql 4 on FreeBSD 5.3 >>machine and now I'd like to go to apache2. > > > Of course it's possible. It's even easy if you read the documentation > and understand what's changed between 1.x and 2.x. I remember reading > something about PHP not being thread-safe, however, and since that may > be one of the reasons for your wanting to upgrade (worker saves one of > my machines about 25 MB of core for equivalent functionality), you may > want to rethink it. Your config will largely stay the same, but its not as much as an upgrade as it is a reinstall...IMHO even bsd has you enable different options in rc.conf to enable apache2. A great document to understand the differences. http://httpd.apache.org/docs-2.0/upgrading.html On the other point, PHP is thread safe, it is the libraries which you choose to compile into PHP that may not be thread safe. Take a look at all the third party libraries you'll be compiling in, look at the project sites and determine if they are, or are not, thread safe. If you're unsure and want to upgrade to Apache2 anyway...then just compile using prefork MPM, this will leave much of the internals working the same as 1.3, but still give you built in SSL and some other Apache2 features, without the work. PHP will also need to be recompiled using WITH_APACHE2 if you're using ports or --with-apxs2=/path/to/apache/bin/apxs if compiling by hand. HTH Jeff > > Best Regards, > Christopher Nehren