If you are a beginner in WordPress and want to get familiar with the WordPress environment, then installing WordPress Locally is the best option for you. You can develop new sites, plugins and themes without paying for hosting services. Installing WordPress locally using a software simulates a server environment on your computer. This allows you to work freely and experiment as the changes don’t affect your live website.
There are multiple options available to install WordPress locally on your systems such as WAMP, XAMPP, LocalWP, and InstantWP. In this article, we’ll show you how to install WordPress on your Windows system using WAMP.
What is WAMP?
WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. WampServer is available for free in both 32-bit and 64-bit versions.
The name WAMP is an abbreviation for Windows, Apache, MySQL and PHP. W stands for Windows. A stand for Apache. Apache is a web server that allows your computer to host a website that is accessible via your browser. M stands for MySQL which is used to manage databases. Finally, P stands for PHP.PHP is the scripting language used for creating dynamic web content.
Steps to install WordPress Locally on a Windows system using WAMP
- Download and Install WampServer.
- Create a Database for WordPress.
- Download and Install WordPress.
Step 1: Download and Install WampServer
<p> To Download and Install WampServer in your Windows system, go to the WampServer Website and click on the Download tab. </p>
NOTE: WampServer is not compatible with Windows XP, SP3, or Windows Server 2003.
You will find two options: WAMPSERVER 64 BITS and WAMPSERVER 32 BITS. Download whichever system type corresponds with your system. In case you don’t know whether your system is 32-bit or 64-bit, go to System Settings >> System >> About and check the system type under Device Specifications.
Check your Downloads folder for the WampServer executable file and double click on it to start the installation process.
You will receive a security warning window. Click on Run to allow WampServer to make changes in your system. Then choose a language and accept the License Agreement. Click on Next Button.
Then, Select Destination Location where you want to install WampServer and click on Next. Now, Select the components (PHP, MariaDB, MySQL) and their versions you want to install and click on Next.
Set up the location for WAMP shortcut and Finally click on Install.
NOTE: During installation, you will get an option to change default web browser and a text editor. WampServer defaults to Internet Explorer upon opening the local file browser window and to Notepad for displaying the text files.
In the end click on Finish and you will see the WampServer shortcut icon created on your desktop. Click on the icon to initialize WAMP. Check the colour of the WampServer icon in the system tray on the bottom right side of your taskbar. The colour of the icon signifies whether everything is working properly or not. You have to resolve the issues, if any before proceeding.
Green icon – Everything is working right
Orange icon – Issue in one of the services
Red icon – Both Apache and MySQL services aren’t running
Finally to test your WampServer installation, go to http://localhost/ in your browser and check whether the WampServer homepage is displayed or not.
Step 2: Create a Database for WordPress.
You need to create a new MySQL database which will store your WordPress website data. Left click the green WampServer icon or select phpMyAdmin under the Tools section of WampServer’s homepage. You will be directed to phpMyAdmin Login page http://localhost/phpmyadmin/ .
Simply type ‘root’ within the Username text field and leave the password blank. These are default credentials for accessing the localhost phpMyAdmin page. Then, click on Go.
Click on Databases in the main navigation bar at the top to create a new database. Enter the database name (for example: wordpress) and select a database collation (utf8_unicode_ci) and click on the Create button.
Step 3: Download and Install WordPress.
Once you create a new MySQL database via phpMyAdmin, simply install WordPress in your system. Go to wordpress.org page and click on Get WordPress. Click on the Download button and get the WordPress zip file.
Check your Downloads folder, right click on the wordpress.zip folder and select extract all. Now, move this folder into the C:\wamp64\www directory, with Wamp installation.
Now, go to http://localhost/wordpress in your web browser to activate WordPress. Select your preferred language and click on Continue. Now, you have to enter your database connection details. Enter the Database Name you created in phpMyAdmin (here wordpress), Username is root and Password field remains blank. Database Host and Table Prefix remain default i.e. localhost and wp_ respectively. In the end, click on Submit Button.
If your connection is established properly, WordPress will prompt you to run its installer.
The final step is to enter your WordPress website information such as Site Title, Username, Password and Email Address and click on Install WordPress.
On successful installation you will see a similar screen.
You can now login http://localhost/wordpress/wp-login.php to your WordPress dashboard with the username and password you entered in the site details page.This will now take you to your WordPress dashboard. Now your WordPress website has been successfully installed locally. You can have multiple locally installed WordPress websites on your machine.
We hope this article helps you to install WordPress locally on your machine using WAMP. In case of queries, please leave a comment and we will get back to you as soon as possible.
Also, if you want us to cover a specific topic you can leave a comment for that as well.