Date: Wed, 15 Aug 2001 12:28:49 -0500 From: "Darryl Hoar" <darryl@osborne-ind.com> To: <freebsd-questions@freebsd.org> Subject: RE: Apache, MySQL,PHP4 and FP extensions - Success! Message-ID: <002801c125af$bf971a60$0701a8c0@darryl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c125af$bf971a60$0701a8c0>