一、查询到我本机ip地址为:192.168.250.226
image.png
二、打开phpStudy —— 其他选项菜单 —— 打开配置文件 —— vhosts-ini
image.png
三、加入到要改项目的<VirtualHost>里面,
ServerName 127.0.0.1
ServerName 192.168.250.226
image.png
四、重启 —— 打开地址就可以了
image.png
一、查询到我本机ip地址为:192.168.250.226
二、打开phpStudy —— 其他选项菜单 —— 打开配置文件 —— vhosts-ini
三、加入到要改项目的<VirtualHost>里面,
ServerName 127.0.0.1
ServerName 192.168.250.226
四、重启 —— 打开地址就可以了