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 hereI 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.