I am in the process of building Moodle 2.3.3+ on FreeBSD 8.2. (I wanted to go to 8.3 but both a fresh install from the boot-only CD and an upgrade from 7.2 failed.) I also decided to install Apache 2.4. The install from source (necessary because FreeBSD doesn't provide an Apache 2.4 package yet) put Apache artifacts in different places than a package install. Next I decided to install PHP 5.3 from the ports tree as per instructions from the FreeBSD handbook. The final message from the PHP make install let me know that an additional httpd.conf file had been installed and subsequent investigation determined that Apache 1.3.42 (is this still supported by Apache?) had been installed. I also learned that /usr/local/sbin/apxs had been used to build my PHP implementation rather that the apxs file for my Apache 2.4 at /usr/local/apache24/bin/apxs. I did some additional investigation to determine where in the heck Apache 1.3.42 was called but I am now more interested in what I should do to make sure everything works.
I am committed to using Apache 2.4.
So my essential questions are:
1) Do I need to remove PHP5 and learn how to direct port builds to use the desired resources? If so, let me know how to do this. I looked at the make man page but did not see a "delete" or similar option.
2) Maybe I need to learn how to install Apache from source but in accordance with the FreeBSD architecture so that packages that I might install will work. If so, how do I do this. I looked at the make man page but did not see a "delete" or similar option.
Thanks.
I am committed to using Apache 2.4.
So my essential questions are:
1) Do I need to remove PHP5 and learn how to direct port builds to use the desired resources? If so, let me know how to do this. I looked at the make man page but did not see a "delete" or similar option.
2) Maybe I need to learn how to install Apache from source but in accordance with the FreeBSD architecture so that packages that I might install will work. If so, how do I do this. I looked at the make man page but did not see a "delete" or similar option.
Thanks.