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
- Install Apache HTTP Server 2.20 by using FreeBSD Ports Collection:
cd /usr/ports/www/apache22
make install clean - 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
- To start Apache HTTP web server immediately, use:
/usr/local/sbin/apachectl start
or
/usr/local/etc/rc.d/apache22.sh start
- Apache installation finished.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5
- Easily Set Up Web Server with XAMPP
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1
- Change and Reset MySQL root Password
- FreeBSD Apache HTTP Accept Filter Error
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3

































May 22nd, 2008 16:23
ehhm and you dont config apache ??
July 12th, 2008 02:41
[...] 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 [...]
September 8th, 2008 22:39
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.