+ 2
I would like to know about using xamp and wamp ..how to run websites in local host
4 odpowiedzi
+ 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"
+ 3
thank you
+ 2
where should i copy .php file
+ 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".