Cannot access to localhost/xampp/index.php

我们两清 提交于 2019-12-05 08:11:52

Ok, Create a page yourpage.html / yourpage.php whatever, you have to put all your pages in a folder in C:\Xampp\htdocs\ dir

Then try accessing following url:

localhost/yourpage.html

or

localhost/yourpage.php

That should work.

I think you should be entering "http://localhost/index.php", because there is no such file in my ../htdocs/xampp/ folder called as index.php.

So may be the file you are referring to is in ../htdocs/index.php and to access it you need to hit the url as "http://localhost/index.php".

Thanks.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!