mac 自带的apache

mac 系统自带的Apache

cd /etc/apache2

启用apache的命令: sudo apachectl start/restart
vi httpd.conf
查找DocumentRoot

DocumentRoot “/Library/WebServer/Documents”
根目录定位在这里

Mac Pro 自带的apache版本

Server:Apache/2.4.16 (Unix)
Request Headers
(10)
Name

没有拖php
自己安装php


This entry was posted in MAC, PHP and tagged , . Bookmark the permalink.
月小升QQ 2651044202, 技术交流QQ群 178491360
首发地址:月小升博客https://java-er.com/blog/mac-apache/
无特殊说明,文章均为月小升原创,欢迎转载,转载请注明本文地址,谢谢
您的评论是我写作的动力

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

  

  

About Me

静水流深,水滴石穿