From owner-freebsd-questions Wed Aug 15 11: 0:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 6F13137B407 for ; Wed, 15 Aug 2001 11:00:11 -0700 (PDT) (envelope-from jacks@sage-american.com) Received: from sageone (ppp-208-191-234-233.dialup.crchtx.swbell.net [208.191.234.233]) by sage-american.com (8.9.3/8.9.3) with SMTP id NAA20171; Wed, 15 Aug 2001 13:00:07 -0500 (CDT) Message-Id: <3.0.5.32.20010815130009.0111e830@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 15 Aug 2001 13:00:09 -0500 To: , From: jacks@sage-american.com Subject: RE: Apache, MySQL,PHP4 and FP extensions - Success! In-Reply-To: <002801c125af$bf971a60$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Darryl: Great! Thanks for sharing this. After my Samba dance last night, this is my next challenge! Indeed a most kind, willing helpful group on this list! At 12:28 PM 8.15.2001 -0500, Darryl Hoar wrote: >Running 4.3-release. > >After my previous plea for help, I received some pointers >(A lot of them acutally) from John Straiton. I will summarize >what I have done to get the following to work together: > Apache1.3.19 > MySQL 3.23.36 > PHP4.04pl1 > Frontpage Extensions Version 5.0 > >Step1: # cd /usr/ports/databases/mysql323-server > # make > # make install > >Step2: go to http://www.rtr.com/fpsupport/fp2002eula.htm. After > agreeing to the eula, download the file fp50.freebsd.tar.gz > to your computer. I placed mine in /home/darryl/fp. cd into > the directory and then #tar -zxvf fp50.freebsd.tar.gz. > >Step3 : cd /usr/ports/www/apache13 > # make > When you see it start to config ("Checking for ....: Yes") hit > CTRL-C. The idea at this point is just to have make build the > work sub directory structure. > > Open the file Makefile in your favorite editor. Add the following > --add-module=mod_frontpage.c to the config section. Don't forget > to add a \ to the end of the line prior to the one you just added. > Save the file. > > #cd /usr/local/www/apache13/work/apache13 > > Copy >/home/darryl/fp/frontpage/version5.0/apache-fp/fp-patch-apache_1.3.19 > to ./ > >Step4 : #patch -p0 < fp-patch-apache_1.3.19 > >Step5 : #make install clean > >Step6 : #cd /usr/ports/www/mod_php4 > #make install clean > >Step7 : copy /usr/local/sbin/httpd to /home/darryl. This will allows us to >overwrite the > cruddy httpd installed by the frontpage extensions install script. > >Step8: Verify the compiled httpd daemon by : #/usr/local/sbin/httpd -l > This should generate something like: > Compiled-in module: > http_core.c > mod_so.c > mod_frontpage.c > suexec: disabled; invalid > >Step9: cd /home/darryl/fp/frontpage/version5.0 > sh ./fp_install.sh > > Answer the questions that it asks. the > daemon is /usr/local/sbin/httpd > the config file is /usr/local/etc/apache/httpd.conf > > only install a root web. >Step10: Copy httpd back from /home/darryl to /usr/local/sbin > >Step11: rehash >Step12: apachectl start. > >NOTE: I had to modify by hand httpd.conf to eliminate some errors the > frontpage install script was generating. First, I had to set > ResourceConfig and AccessConfig to /dev/null. Made sure that > DocumentRoot pointed to my data. Modified default user and group > to reflect my choices. Also had to modify AllowOverride to all. > >Make sure mysqld is running, and test. All should work. > >Thanks for all the help. > >-Darryl > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message