1、安装phpStudy,并启动。
2、安装yii2框架。
3、创建HelloController控制器。
4、在控制器中创建hello方法。
5、然后告诉世界我来了。
6、运行http://localhost:9096/web/hello/hello
7、输出信息。
时间:2024-10-12 10:40:20
1、安装phpStudy,并启动。
2、安装yii2框架。
3、创建HelloController控制器。
4、在控制器中创建hello方法。
5、然后告诉世界我来了。
6、运行http://localhost:9096/web/hello/hello
7、输出信息。