在fedora下apache默认是安装好的,我们只要直接启动就可以了
启动命令如下:/etc/init.d/httpd start
apache的配置和日志目录分别在/etc/httpd/conf和/ect/httpd/logs
我们写的php文件是存放到/var/www/html/下
当我们本地访问没有问题,但是其他机器访问不了的话,一般是防火墙的问题,使用/ect/init.d/iptables stop 把防火墙关闭了就可以了
相关文章:
-
2021-06-09
-
2021-12-09
-
2021-07-30
-
2022-12-23
-
2022-01-14
-
2021-09-17
-
2021-11-29
猜你喜欢
-
2022-12-23
-
2021-11-16
-
2022-03-09
-
2022-12-23
-
2022-12-23
-
2021-07-09
-
2021-12-06
相关资源
-
下载
2022-12-20
-
下载
2022-12-20
-
下载
2021-06-06