一、其它选项菜单=》phpStudy设置=》端口常规设置(勾选允许目录列表);
二、
Apache
http端口:80
网站目录:D:phpStudyPHPTutorialWWW
默认首页:index.html index.php index.htm l.php
更改为
Apache
http端口:80
网站目录:D:server
默认首页:index.html index.php index.htm
三、配置好后重启下phpstudy,否则不生效。
修改网站根目录后,localhost下的目录文件夹会启动php服务