phpstudy修改端口及网站根目录和访问 localhost 显示目录文件夹

一、其它选项菜单=》phpStudy设置=》端口常规设置(勾选允许目录列表);

二、

  Apache
  http端口:80
  网站目录:D:\phpStudy\PHPTutorial\WWW
  默认首页:index.html index.php index.htm l.php

 更改为
  Apache
  http端口:80
  网站目录:D:\server
  默认首页:index.html index.php index.htm

三、配置好后重启下phpstudy,否则不生效。

 

修改网站根目录后,localhost下的目录文件夹会启动php服务

posted @ 2018-11-21 10:44  heroljy  阅读(4483)  评论(0编辑  收藏  举报