+ 2

I would like to know about using xamp and wamp ..how to run websites in local host

11th Jan 2017, 3:34 PM
Dulla Venkata Naga Saisri Subhash
Dulla Venkata Naga Saisri Subhash - avatar
4 ответов
+ 3
Xampp comes as a setup exe for windows. once you install it, you will see the cpanel in your programs. open the cpanel start apache server (OPTIONAL if needed:start mySql and or whatever service you should need) Now the apache server is running and you can verify it by opening the localhost in your browser: type "localhost" or "127.0.0.1" in the address bar. you will be welcomed with the Xampp index page. if you want to access with your webpage, copy your content.html to the folder htdocs inside of the XAMPP installation folder. now you can see it in your browser by entering the address: "127.0.0.1/content.html"
11th Jan 2017, 5:10 PM
seamiki
seamiki - avatar
+ 3
thank you
11th Jan 2017, 5:14 PM
Dulla Venkata Naga Saisri Subhash
Dulla Venkata Naga Saisri Subhash - avatar
+ 2
where should i copy .php file
11th Jan 2017, 5:54 PM
Dulla Venkata Naga Saisri Subhash
Dulla Venkata Naga Saisri Subhash - avatar
+ 2
htdocs is the root folder. if the php scripts are part of your website copy them in the same folder your website is. if "your.php" file is in the following path: htdocs/yourwebsitefolder/ it can be accessed in the browser by entering the address "127.0.0.1/yourwebsitefolder/your.php".
11th Jan 2017, 6:04 PM
seamiki
seamiki - avatar