Mac下安装PHP环境配置php+mysql+Apache+phpmyadmin及工具PhpStrom环境配置
Mac默认已安装Apache和PHP环境,只需开启即可一、开启Apachesudoapachectlstart附:sudoapachectlstop(关闭)sudoapachectl-krestart(重启)开启后浏览器输入:http://localhost回车会显示"Itworks!"表示Apache开启成功二、开启PHP1.修改Apache配置文件1>打开终端输入命令:sudovim/etc/