The FreeBSD Diary |
![]() |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
|
Apache port - php3/FrontPage/SSL
2 January 2000
|
|
NOTE: This article is now out of date. Please don't use it. This is a great port. It installs php, FrontPage 2000 server extensions, and SSL.See also Front Page Extensions - security considerations Note that this port contains the patch for the popen problem. See the following for detail on that bug: |
|
Remove the old apache first
|
If you have any previous installations of apache, I suggest you remove
them first. Do this by looking in /var/db/pkg for anything resembling
apache and doing the following:pkg_delete <package_name> I would also recommend renaming the following directories, if they exist, to avoid any complications caused by the new install. /usr/local/www/ /usr/local/etc/apache/ /usr/local/frontpage/ |
|
The install
|
Actually, this is not a port. Yet. It has been submitted as
PR/15873 and we're waiting. But in the meantime, you can get the port from
And also here:
Once you have it, I'd put it in /usr/ports/www and untar it. cd /usr/ports/www fetch ftp://ftp.csocs.com/pub/FreeBSD/ports/apache13-php3-fp-modssl.tar.gz tar xvfz apache13-php3-fp-modssl.tar.gz Then make it: cd apache13-php3-fp-modssl make make install During the make install, you will be asked several configuration questions. Unfortunately, I didn't record my answers. If you have a problem, try another make install. Or do a make deinstall. If you can't do that, remove the directories as mentioned in the previous section, then try make install again. |
|
The configuration
|
Here is the log from an install. It might help you. My comments are
interpersed amongst the log.
Before you press return here, I would recommend opening another shell and modifying /usr/local/etc/apache/httpd.conf for your needs. Of note are the following items. I changed the bits in bold.
You might also want to add in any virtual hosts. FrontPage Administrator's user name: [fpadmin] I would recommend some other name. Note this is not a UNIX user id. Unix user name of the owner of this new web:[www] Note that we specifed www as the user and group in the httpd.conf changes.
I would recommend NO. Most Front Page websites do not contain sub webs. Unless you know yours does, say no. You can always add subwebs later. It's better to get this installed and finished rather than mess around with sub-webs where something might go wrong. For details on how to upgrade servers manually, please see the Server Extension Resource Kit (SERK), located in /usr/local/frontpage/version4.0/serk Installing Virtual Webs.. Do you want to install Virtual Webs (y/n) [Y]? N I would recommend NO. I usually add virtual webs as I need them. Manually. Instructions are at Installing a new virtual web with FP2000 extensions and it's pretty easy. It's better to get this installed and finished rather than mess around with sub-webs where something might go wrong. Installation completed! Exiting... ===> Compressing manual pages for apache_fp+php+mod_ssl-1.3.9+3.0.12+2.4.8 ===> Registering installation for apache_fp+php+mod_ssl-1.3.9+3.0.12+2.4.8 bash-2.03# exit |
|
Sorry, that's all
|
| I'm sorry, but that's all I have for you on this topic. That should
get you going. To start httpd, here's a useful script:
Of special note are the graceful and configtest. I use them a lot. |