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.



2 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 [...]

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

freebsd apache - freebsd apache22 - install apache freebsd - apache22 freebsd - freebsd install apache - apache freebsd - install apache on freebsd - how to install apache freebsd - freebsd apache 2.2 - apache 2.2 freebsd - freebsd install apache22 - install apache2 freebsd - how to install apache on freebsd - freebsd start apache - install apache in freebsd - freebsd apache install - instalare apache freebsd - install apache22 on freebsd - installing apache freebsd - instalar apache freebsd - how to install apache in freebsd - freebsd how to install apache - install apache AND freebsd - freebsd+apache22 - Restart apache freebsd - apache on FreeBSD - apache install freebsd - freebsd installing apache - php apache22 freebsd - apache,freeBSD - apache22 +FREEBSD - install apache di freeBSD - start apache freebsd - FreeBSD apache22 php - freebsd, apache22 - apache22 php - installing web service freeBSD 6.0 - apache+freebsd - apache 22 freebsd - freebsd +install apache - install apache2 in freebsd - freebsd apache - freebsd setup apache22 - apache 2.2 on freebsd - freebsd - apache22 freebsd php - apache for freebsd - apache - php5 freebsd - FreeBSD setup apache -