Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server

Part 4 - Installing Apache HTTPD Web Server 2.2

  1. Install Apache HTTP Server 2.20 by using FreeBSD Ports Collection:

    cd /usr/ports/www/apache22
    make install clean

  2. A Apache HTTP Server script apache22.sh is located at /usr/local/etc/rc.d to provide Apache HTTP Server start and shutdown service. To enable Apache web server to automatically starts whenever after server reboots, issue the following command at CLI:

    echo ‘apache22_enable =”YES”‘ >> /etc/ rc.conf

  3. To start Apache HTTP web server immediately, use:

    /usr/local/sbin/apachectl start

    or

    /usr/local/etc/rc.d/apache22.sh start

  4. Apache installation finished.

Share and contribute or get technical support and help at My Digital Life Forums.



3 Responses to “Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4”

  1. Nisse
    May 22nd, 2008 16:23
    1

    ehhm and you dont config apache ??

  2. Aaron Martinez » Blog Archive » “apache22_enable: not found” fix
    July 12th, 2008 02:41
    2

    [...] The apache22/mysql/php install guide on mydigitallife is excellent, but if you copy/paste the snippet (as shown in the instructions) it adds an extra [...]

  3. dreaken
    September 8th, 2008 22:39
    3

    For PC-BSD (and possibly other FreeBSD distros), you may recieve a conflict with another package when running “make install clean”. Run this instead “make -i install clean” to get past this issue.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

apache22 freebsd - install apache freebsd - freebsd apache22 - freebsd apache - install apache on freeBSd - freebsd install apache - install apache2 freebsd - apache 2.2 freebsd - how to install apache freebsd - apache freebsd - freebsd apache 2.2 - installing apache on freebsd - start apache freebsd - apache for freebsd - how to install apache on freebsd - how to install apache in freebsd - freebsd install apache22 - freebsd apache guide - freebsd install apache2 - installing apache with port on freebsd - apache2 freebsd - apache 22 on freebsd - apache22 no freebsd - mysql5 php5 freebsd 7 - install apache 2.2 freebsd - apache+freebsd - apache22_enable: not found - freebsd apache install - installer apache freebsd - install apache in freebsd - start apache in FreeBSD - installing apache on bsd - freebsd ports apache22 - install apache server on freebsd - apache2 bsd install - apache installation in freebsd - apache freebsd installation - bsd ports install apache - freebsd apache2 php5 - freebsd apache webserver - FREEBSD /usr/local/etc/rc.d/apache22 download - how to uninstall apache in freebsd - httpd server freebsd - freebsd 7 install apache mysql - FreeBSD apache22 install - freebsd apache22 php5 - Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 - installing apache 22 on freebsd - installing apache2 in freebsd 7 - openbsd apache2 php5 mysql guide -