1、安装phpStudy,并启动。

2、安装yii2框架。

3、创建HelloController控制器。

4、在控制器中创建hello方法。

5、然后告诉世界我来了。

6、运行http://localhost:9096/web/hello/hello

7、输出信息。

时间:2026-02-13 19:39:56
1、安装phpStudy,并启动。

2、安装yii2框架。

3、创建HelloController控制器。

4、在控制器中创建hello方法。

5、然后告诉世界我来了。

6、运行http://localhost:9096/web/hello/hello

7、输出信息。
