- 安装WAMPSERVER
可以去官网下载新版的WAMP,云盘地址:http://pan.baidu.com/s/1jGyBgou 密码:hwps
- 安装PhpStorm
去官网下载新版的PhpStorm, 云盘地址:http://pan.baidu.com/s/1E08LS 密码:vlec
- 创建PHP项目
PhpStorm ->file->new project
- 创建index.php
项目上右击new->PHP File
- 编写代码
echo "hello";
- 启动WAMPSERVER
项目要放在WAMP里面的www目录下,启动WAMPSERVER。
- 页面预览
浏览器浏览地址:http://localhost/vwoim/index.php 输出结果 : hello
时间: 2024-08-01 20:26:30