我在freeBSD7.0下安装步骤apache:
1. ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite
2. make
3. make install
4.把路径/usr/local/apache2 加入/root/.cshrc中PATH
5. logout
安装PHP5(./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-pqsql=/usr/local/pgsql --with-config-file-path=/usr/local/php5)
错误提示如下:
sorry I cannot run apxs .Possible reasons follow:
1.Perl is not installed
2. apxs was not found.
3 apache was not built using --enable-so (the apxs page is displayed)