phpStudy的httpd-conf 与 vhosts-ini 的目录设置错了 

2、解决

分别打开httpd-conf 与 vhosts-ini 2个文件,搜索WWW,把里面的路径改成你的项目的根目录(有index.php的路径),重启phpstudy

3、解决详细步骤

 3.1右键phpstydy图标,打开配置文件,httpd-conf 

phpStudy The requested URL /web/index.php was not found on this server

phpStudy The requested URL /web/index.php was not found on this server

 

注:有可能只有DocumentRoot有这个配置,有就改,没有就不管它

 

保存,重启phpstudy,即可正常访问项目

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2021-06-22
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案