From owner-freebsd-isp Sun Mar 12 3: 8:38 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 1652437B94F; Sun, 12 Mar 2000 03:08:32 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [62.104.201.6] (helo=mx0.freenet.de) by mout0.freenet.de with esmtp (Exim 3.13 #1) id 12U6EV-0002w2-00; Sun, 12 Mar 2000 12:08:27 +0100 Received: from [213.6.44.253] (helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.13 #3) id 12U6EN-00070z-00; Sun, 12 Mar 2000 12:08:22 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id LAA01286; Sun, 12 Mar 2000 11:09:38 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200003121009.LAA01286@Magelan.Leidinger.net> Date: Sun, 12 Mar 2000 11:09:37 +0100 (CET) From: Alexander Leidinger Subject: Re: FrontPage extensions on Apache(/PHP+SSL upgrade) To: danielb@pacex.net Cc: dannyh@idx.com.au, wolfman@csocs.com, jpr@vcnet.com, freebsd-isp@FreeBSD.ORG, ports@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 11 Mar, Dan B. wrote: >> If you have the same Version of Apache+PHP already installed just do a >> "make install -DFORCE_PKG_REGISTER; apachectl graceful" >> and everything should work (you have to enable PHP/SSL in your >> apache.conf afterwards, just compare the old apache.conf.default with >> the new one). > OK sounds great, but how can I sneak-in mySQL as well? cause I already > have Apache-1.3.9/PHP-3.0.12 running and want to end up with > Apache/PHP/SSL/mySQL and ofcourse FP. I assume a worst case of Apache-1.3.9/PHP-3.0.12/FP running and updating it to Apache-1.3.xx/PHP3.0.yy/FP (xx > 9, yy > 12). Note: I didn't know how to use FP with apache, insert neccessary steps to get FP extensions into the following description. - Use a spare box without apache but the same directory layout as you use on your server - cd /usr/ports/www/apache13-php3 - make install (now tell the port in the dialog to use MySQL+SSL) - Compare everything with the old version of apache on the production machine and modify (or copy) the config to suit your needs. Make sure you copy every FP file which seems to cary informations (like counter information/...) which are used by your customers and are located at places which get overwritten by the next steps. - To be on the safe side: make a backup of your old apache. - pkg_delete - copy the new version to the server - restart apache - copy /var/db/pkg/ from the spare box to the server If you didn't have a spare box to play with you have to change "make install" to "PREFIX=/some/other/place make install" and after a make clean you have to build (not install) the port again without PREFIX. Now copy the files from the second build to /some/other/place by yourself and proceed as above. (The install with 'PREFIX' installs every file into /some/other/place, the second build builds executables with correct paths for config files) Bye, Alexander. -- To boldly go where I surely don't belong. http://www.Leidinger.net Alexander+Home @ Leidinger.net Key fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message