From owner-freebsd-questions Wed Aug 15 10:26:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ruraltel.net (mail.ruraltel.net [24.225.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 74D4737B410 for ; Wed, 15 Aug 2001 10:26:06 -0700 (PDT) (envelope-from darryl@osborne-ind.com) Received: from darryl ([24.225.30.195]) by mail.ruraltel.net (Post.Office MTA v3.5.3 release 223 ID# 0-70800U16000L4200S0V35) with SMTP id net for ; Wed, 15 Aug 2001 12:24:09 -0500 Reply-To: From: "Darryl Hoar" To: Subject: RE: Apache, MySQL,PHP4 and FP extensions - Success! Date: Wed, 15 Aug 2001 12:28:49 -0500 Message-ID: <002801c125af$bf971a60$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal 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 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