If you are eager to set up your website or a blog using WordPress and Want to test it offline before releasing publicly then you can use this tutorial. Today you are going to learn how to install WordPress on Ampps on local server on your PC. This tutorial is fully offline so you don’t need any internet connection. You just need two files, which are discussed below.
We will be using Ampp to set up a local server on your PC. Oh! I forgot. If you don’t know what a local server is then let me tell you. A server is a kind of CPU with the processor, It process the website scripts and provide integration to many open source programs and scripts. Like if you want to install WordPress you will need a hosting account. The hosting account will provide you space to keep your files and will provide a server to run your PHP (WordPress) scripts.
|How to setup WordPress locally on windows using AMPPS|
Now what we are going to do is we will setup our own server on our PC. So we need a software that can setup server on our PC without going much deep into programming know how. So Ampps is the best software for this work. And the best part it’s completely free.
You may be knowing that WordPress is an open source software written in php, which can be used to create a website or a blog of your own. And this too is completely free to use. Without any restrictions.
AMPPS is a program from Softaculous that offers Apache, Mysql, MongoDB, PHP, Perl, Python and Softaculous auto-installer on a desktop. Don’t worry, we don’t need to learn what’s exactly all this – let’s get started with this tutorial. So for this tutorial you need two files one is Ampps software and other is the wordpress .zip of .tar file.
Installing Ampps on Windows
First Step: Firstly you have to Download and install AMPPS on your Windows. The installation procedure is just like any other program that we regularly install on a Windows system. You don’t have to change any field just click on next and install it. Installation will take about four to five minutes.
Second Step: Once installed Launch Ammps, you’ll be able to see the Softaculous AMPPS window, with Apache and MySQL already running. There’s an option for stopping and restarting these services. You’ll also be able to see the AMPPS icon on the system tray. Now in the Ampps window you will see a blue icon at botton like a globe spherical (see image below). Click on it. This will launch the localhost server with the URL: http://localhost. This is the Local server that I was talking about. It will have some default files.
|Ampps localhost server|
Third Step: Now go to “My computer” of your PC go to “program files x86”. Here you will see “Ampps” folder, go to that folder and here you will see a folder named as “WWW”. Here is the full address to go “C:Program Files (x86)Amppswww”
This folder has all the file that you see on the local server(http://localhost/). Open this folder here you will see some files. Just select all the files and delete it as these are just for demo we don’t need these files.
Installing WordPress with ampps on windows
Forth Step: Now open the WordPress .zip file or .tar file and you will see a wordpress folder inside it. Extract this folder to the “WWW” folder. Now go to your browser and type “http://localhost/” or click on the blue globe icon on Ampps window. Now you will see the wordpress folder on your server. Now you have to install it. Click on WordPress file and see the fifth step.
|WordPress Installation page|
Fifth Step: Now it will ask a database name, password and other details to install the wordpress. Now we have to create a database. Open a new tab on your browser and type the address http://localhost/phpmyadmin this address takes you to an admin panel of ampps to create a database and users. Now here click on Database option at the left top side.
|WordPress database linking page|
Here you will see a database named “Test” already there. We need to create new database Type the name and click on create to create a database. You can give any name. Now go back and click on users and select “Add new user” Now enter the details of users and enter a password, In the Host field select localhost from options. Scroll down and tick all the options under “Database for users” and tick on “Global privillage – check all”. And scroll down just click on “GO” at the bottom.
Sixth Step: Now it’s time to install wordpress go to the previous tab that is http://localhost/wordpress/ and Click on “Lets go” Now in the next window fill out all the database details you have created just now. Fill the username and password correctly and click on “Submit”. Now it will ask to “Run the install” Now before installing it will ask some Basic details of your Website that is your site name and site Admin’s username, password, email address. You can enter all the details as you want and click on “Install wordpress”.
|WordPress information of website|
Now sit back and relax as wordpress will be installed shortly. Once installed, you’ll be able to see a message that says Success WordPress has been installed. Click on login and login with the details that you’ve provided during the installation. This is the admin panel of wordpress.
|Admin panel of wordpress|
Now to see your website just go to http://localhost/wordpress/ and to see your admin panel go to url http://localhost/wordpress/wp-admin/ Or http://localhost/wordpress/wp-login.php. Congratulations, you’ve just installed WordPress on your local Windows computer. AMPPS is available for Windows(All major versions) and MAC.
I have made a video that describes the full process of installing WordPress on a local server on your pc. See the video below. Link of video https://www.youtube.com/watch?v=LGD0A7tbQBA&ab_channel=Mindxmaster.
If you liked this video please subscribe to our channel https://www.youtube.com/Mindxmaster.
That’s all in this tutorial. If you have any questions then let us know in the comments section below. Thank you for reading this post.