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 - apache22 freebsd - freebsd apache22 - freebsd install apache - install apache freebsd - apache freebsd - install apache on freebsd - how to install apache in freebsd - freebsd apache 2.2 - freeBSD install apache22 - how to install apache freebsd - FreeBSD apache install - install apache2 freebsd - freebsd start apache - how to install apache on freeBSD - apache 2.2 freebsd - instalar apache freebsd - freebsd apache22 install - PHP apache22 - freebsd apache restart - freebsd - Apache+freebsd - freebsd apache2 install - freebsd +install apache - FreeBSD installing apache - freebsd start apache22 - Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - install apache2 in freebsd - apache on freebsd - freebsd+apache22 - freebsd apache22 php mysql - install apache22 on FreeBSD - restart apache freebsd - apache installation freebsd - install apache2 on freebsd - apache install FreeBSD - freebsd install apache2 - freebsd apache installation - freebsd apache installieren - Apache + Freebsd - freebsd install apache - apache 22 freebsd - starting apache22 freebsd - bsd install apache - apache22 freebsd - Installing Web Server in FreeBSD 6.0 - FreeBSD start apache server - apache22_enable: not found - Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server - php apache22 freebsd -