Date: Sun, 12 Mar 2000 11:09:37 +0100 (CET) From: Alexander Leidinger <Alexander@Leidinger.net> To: danielb@pacex.net Cc: dannyh@idx.com.au, wolfman@csocs.com, jpr@vcnet.com, freebsd-isp@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: FrontPage extensions on Apache(/PHP+SSL upgrade) Message-ID: <200003121009.LAA01286@Magelan.Leidinger.net> In-Reply-To: <Pine.BSF.4.10.10003111003000.9713-100000@almazs.pacex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <old-apache-version>
- copy the new version to the server
- restart apache
- copy /var/db/pkg/<new-apache-version> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003121009.LAA01286>
