1.MAMP 配置
(1.)host配置

(2.)port配置

(3.)MySQL配置

(4.)PHP配置

(5.) 启动Apache 和 MySQL
在浏览器中输入 127.0.0.1:8880 (8880 是我们设置apache的端口
)
2.PhpStorm 配置
(1.)php 解析器(CLIInterpreter
)配置




(1.)phpStorm 可能会报502的问题,因为phpstorm 默认端口是63342

致自己: 2019.3.20 。00:34,加油!
网友评论