mac本地开启php服务

参考文章

https://blog.csdn.net/wanxue0804/article/details/79434058?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

sduo apachectl start

sudo apachctl restart

sudo apachctl stop

// 用vim编辑httpd.conf

$sudo vim httpd.conf

image.png
image.png
image.png

你可能感兴趣的:(mac本地开启php服务)