1.搜索httpd.conf文件2. 在Section 2: 'Main' server configuration //主服务器设置 下方查找以下内容 # # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 803. 把"Port 80"改成其他的端口即可(未被占用的),如"Port 8081".
或者在
apache的配置文件里
查找port
下方查找以下内容
#
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#
Port 803. 把"Port 80"改成其他的端口即可(未被占用的),如"Port 8081".
开个DOS窗,去APACHE目录
执行 APACHE -k install -n yourname 即可~~
Apache安装在哪个分区无所谓,我的也在D上安装的
[email protected]我发给你
关于那个程序占用端口。
你可以下载一个黑客软件。
或者别的软件如:fport.exe
查出是那个软件占用了端口。你卸了就可以了
./configure --prefix=/usr/local/apache --enable-so 2.X