dongxia9519 2018-11-24 01:44
浏览 288

WAMP localhost服务器文件夹无法使用浏览器访问

I have installed WAMP on my PC. Successfully Installed. I can access phpmyadmin, localhost. When I'm trying to access my local project folder using localhost it's showing a blank page. Here's my local project path URL.

C:\wamp64\www\phpproject. Check my localhost

I clicked on phpproject on localhost. Please check the below image. Observe the URL Observe the URL

When I type manually by using "localhost/phpproject/" it's working fine and showing files list.enter image description here I want to know the reason why this occurs. I googled a lot but didn't find the exact reason. Somewhere I read about changing the value in index.php in the www folder.

*($suppress_localhost ? 'http://' : '') change http:// to http://localhost/ *

But now the latest version is having a different value in it. Please explain the reason and solution.

  • 写回答

0条回答 默认 最新

      编辑
      预览

      报告相同问题?

      手机看
      程序员都在用的中文IT技术交流社区

      程序员都在用的中文IT技术交流社区

      专业的中文 IT 技术社区,与千万技术人共成长

      专业的中文 IT 技术社区,与千万技术人共成长

      关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

      关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

      客服 返回
      顶部