mysql5

Installing a LAMP(Apache 2.2, MySQL 5.0.27, PHP 5.2)server On FreeBSD

Installing and configurating Apache 2.2

Installing Apache 2.2


First make sure your port tree is up to date with portsnap and update them with portmanager if they:
[root@www ~]# portsnap update
Ports tree is already up to date.
[root@www ~]# portmanager -u
Now install Apache with portmanager:
[root@www ~]# portmanager www/apache22

Configurating Apache 2.2

Starting ang stopping Apache 2.2

[root@www ~]# /usr/local/sbin/apachectl -k start
[root@www ~]# /usr/local/sbin/apachectl -k stop
Syndicate content