Chikwado Posted February 12, 2015 Share Posted February 12, 2015 Some one check this: I have install xampp successfully and configure apache. When I type http://localhost in my browser it redirect me to xampp setting where I can create some settings. Now how to create a directory or root folder where I can store php file and view them in my browser. some one help please. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 12, 2015 Share Posted February 12, 2015 You need to find Apache's document root. The document root is what it loads when you go to localhost, you can put any files or folders there. Link to comment Share on other sites More sharing options...
Chikwado Posted February 12, 2015 Author Share Posted February 12, 2015 Is It For Example: http://localhost/document root/page1.php Is it possible to do it like this?. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 12, 2015 Share Posted February 12, 2015 You can make whatever folders and files you want under the document root. XAMPP probably has a button or something that will open the document root folder for you, or at least tell you where it is. Link to comment Share on other sites More sharing options...
Chikwado Posted February 12, 2015 Author Share Posted February 12, 2015 Ok, Thanks for help. Link to comment Share on other sites More sharing options...
proudly Posted March 5, 2015 Share Posted March 5, 2015 remove allthe files from htdocs, and put there your work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now