Download Wamp and install on your computer.
There are few ways to check your PHP website.
1. Either on Localhost
2. Directly on webhosting.
Getting webhosting and trying it everytime is wastage of money if your website will take time.Thus we use localhost to view our website.
Download Wamp and install on your computer.
You have successfully install Wamp server and now ready for viewing of page on localhost.
Find the directory where Wamp server is installed.
Mostly it will be in primary drive.
for e.g: c:/wamp
Open WWW folder as shown in figure.
Copy all the files related to your PHP website in WWW folder to be viewed on loclhost.
Start your WAMP server.
Goto: Start->ProgramFiles->Wamp Server-> Start Wampserver.
A small telephone like icon will be shown in TaskBar as shown in figure.
Open your web browser
You will localhost page by wampserver as shown in figure.
Click on your project and you will see the list of files in your folder.
Open Index.htm or Index.php or your start page of your website.
You will see this address in address bar
You are all set to view your website without going online.
How to Install a Localhost Server on Windows
You May Also Like. How to view PHP website on localhost. There are few ways to check your PHP website. 1. Either...
How to Set Up Localhost on My Computer
How to view PHP website on localhost. How to Redirect Browser Valid URL to a Localhost. How to Set Up a Virtual...
How to View PHP File Types
Files with the .php file extension contain code to display content on web pages. Often, .php files are a mix of HTML...
How to Run a PHP File in a Browser
Unlike static HTML pages, you cannot view the Web page created by a PHP script simply by opening the file in a...
How to Preview a PHP File
Unlike HTML files, PHP files require you to have a PHP server running on your computer to view PHP files locally. As...
How to Move From Localhost to Web Aspnet
When you create a website in ASP.NET Visual Studio, you use the "localhost" location, which is your local computer. After you finish...
How to Run a PHP File in XAMPP
How to view PHP website on localhost; How to Run a PHP File; Print this article; Instructions. 1. Go to the Apache...
How to Get to Php.ini in Xampp
... PHP and Perl. PHP uses the "php.ini" file to store and read ... Open "php.ini" in a text ... go to...
How to Find the Password for Localhost MySQL Server
How to view PHP website on localhost; Comments. Matt Tacchi Jan 20, 2011. This is a really great article ! You May...
How to Set Up a PHP Website
PHP, or Personal HomePage HyperText PreProcessor, ... Open a browser and type "localhost/index.php" into the address bar. You've made your first webpage.
How to Change the Localhost Name
The localhost is also referred to as the loopback address. ... XAMPP is a free and open-source Web server package. Capable of...
How to Use a Proxy With Ajax XMLHttpRequest
var url = 'http://localhost/php_proxy_simple.php?yws_path=' + encodeURIComponent(path);... // core xmlhttp code xmlhttp.open('GET', url, true);
How to Open a File in PHP
How to View PHP File Types. Notepad on Windows and Textedit on Mac OS X are capable of reading PHP files. Within...
How to Open a PHP File in Vista
While the Notepad program that comes installed with Windows Vista can open many PHP files for in-line editing, a free application called...
How to Connect to a Remote Server in PHP
Most servers are named localhost. Check the documentation section of your host's server to find out the MySQL server name. ... PHP...
How to View a Word Document From PHP
Word documents are rich-text documents that allow you to create newsletters, contracts and other customer communication. You can display these Word documents...
How to Find My Local Host
The host file is an important part of your computer, but you might not even realize it's there. Determining your local host...
How to Redirect Browser Valid URL to a Localhost
The "localhost" option in a Web browser lets you display Web pages stored on your local computer. The localhost location is used...
How to Change Your Local Host Name
Click "Tools" on the main menu, then select "Folder options" from the drop-down list. Click the "View" tab, then click the check...
How to Create Dynamic Web Pages Using PHP & MySQL
You can use the programming language PHP and the database management system MySQL to build dynamic Web content that changes to suit...