|
我安装好了apache2 mysql php5,启动apache2后,在浏览器中输入127.0.0.1显示 it works!,但是我把php文件放到home中的public_html文件中,却无法显示,使用以下命令查看状态得到下列结果- rcapache2 start
- Checking for httpd2: unused
复制代码- rcapache2 start
- Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address [::]:80
- (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
- no listening sockets available, shutting down
- Unable to open logs
- startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
- failed
复制代码- linux-cdf:/usr/local/apache2/bin # netstat -ntpl | grep :80
- tcp 0 0 :::80 :::* LISTEN 18094/httpd
复制代码 httpd 占用了80端口
请问这是怎么回事?谢谢 |
|