⚙安装php—>phpstudy
    🖥使用php—启动phpstudy的apache环境👇
    image.png
    找到软件的www目录下面,在这里就可以新建php文件
    image.png
    之后去127.0.0.1访问就可以了
    image.png