PhpStorm6 配置Apache 1) 打开设置 2) 添加web服务器 3) apache web服务器配置信息 4) 编辑项目配置 5) 添加php web应用 6)直接在浏览器上运行php文件。