Your address will show here +12 34 56 78
Technology, Video
WordPress



Do you know that you can install WordPress on your computer for learning purposes and testing?

Yes, It’s true.


Working with WordPress on your computer is a great way to test plugins, do some updates, change site design and other website upgrades before pushing them your live websites.

On these tutorials, I’ll show you how to install WordPress locally using WAMP.


The process of installing WAMP on your computer is also known as setting up a local server environment (“localhost”). Most of theme designers and plugin developers install WordPress on their local server environment to speed up their own development phase.

It’s a good idea to use WordPress on a local computer, in order, to test any major/minor changes to your site. This way, you can immediately fix any issues before it reaches to your live website.


Note:
If you install WordPress locally on your computer, then, it’s only viewable within your local network (inside your house). If you want to create a WordPress blog that is publicly available over the internet, then you need to have a domain name and web hosting. I’ll recommend that you follow this guide on how to install WordPress.

Are you ready? Shall we.

 

What is WAMP?

WAMP stands for W for Windows, A for Apache, M for MySQL and P for PHP. WampServer is one of the software for Windows computers to be a local server environment. You will need WAMP to be able to start and use WordPress on Windows environment. There are other clients for Windows such as XAMPP, but on this tutorial, we’ll use WAMPServer. It is free and easy to use.


First, Installation of Wamp Server on your PC

Visit my previous tutorial on how to install WAMP on your computer.

Once you are done with the installation, launch WampServer.


2. Set a Database for WordPress

Next, we’ll need to create a blank MySQL database for WordPress. WampServer comes with phpMyAdmin, a web-based application to manage MySQL databases. Click on the Wampserver icon in the Windows taskbar and then click on phpMyAdmin.  

The phpMyAdmin login screen will open in a new browser window. By default, the Username will be root, and you can leave the password field blank.  

Once you’re logged in, click on Databases in PHPMyAdmin to create a new database for WordPress. You will be asked to choose a name for your database (we used “Jan-test”). After that click on the Create button.



3. Installation Process for WordPress

Now, we’re going to install WordPress. You will need to download a copy of WordPress from WordPress.org. After downloading the zip file, you have to open and extract it from the downloaded folder.
After that, you need to navigate the folder where you installed WAMP. On this tutorial, we installed it at E:wamp64, so we’ll refer to that folder going forward. Keep in mind, it may be different on where you installed the program. Paste the WordPress folder into the DRIVE-LOCATION:wamp64www folder.
You can rename the WordPress folder to anything you want, we manage to set as under DRIVE-LOCATION:/wamp64/www/WordPress/January/test. This will be the URL of your local WordPress site, so be sure to choose something you’ll remember easily. For the sake of this tutorial, we renamed our WordPress directory to /WordPress/January/test. Now open your web browser and go to //localhost/WordPress/January/test
The WordPress database setup will start automatically. First, it will ask you to select your language.
After that, it will show you some information about setting up your database. Just click the Let’s Go button when you’re ready.
On the next screen, you’ll need to provide your database information. The database name will be the one we made earlier, on this tutorial. In our case, we named it “Jan-test. Your default database username will be root and you can leave the password blank. Just let the table prefix, as it is.
Next, click on the submit button and WordPress will automatically create a configuration file on the designated WordPress folder you’ve made earlier. After this, you will see on your browser informing you that, WordPress has successfully connected to your database, and you can proceed with the installation. Go ahead and click the Run the install button. now you can run the WordPress install on Windows
Next, you can fill out the installation Information form. You will need to set your site title, admin username/password, and admin email address for local website details.

Once you’re ready, press the Install WordPress button. Then, it will redirect to the login information box.
After logging in, it will proceed to your WordPress Dashboard. It means you have successfully installed WordPress on your computer using WampServer.


Congratulations!

via GIPHY

You deserve a pat at your back.
Hooray!
xoxo

 

divider - DREAM CATCHER GIRL | YOUR SAVVY SASSY GIRL

Below are some additional tips and tricks:

1. Troubleshooting Skype Error

If you have already a Skype installed and running on your computer before the WampServer installed, then it may not be able to work properly due to a conflict with Skype. The cause was both Apache and Skype using the same port 80. Here is the simple fix for this. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.


2. Enabling Permalinks

Permalinks will not work by default on your local server environment. All your URLs will look like localhost/sample_site/?p=18. If you go to Settings » Permalinks and use one of the other options, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks in WAMP.


3. Migrating from local server to Live server

Here’s a separate guide on how to push WordPress from a local server to a live site. Hopefully, you’ll find it helpful when you are ready to deploy your local site to the production site. Remember, if you want to start a blog for other people to see, then it’s time to get a domain name and hosting provider.



If you like this tutorial, then please subscribe to my YouTube Channel for more video tutorials.
Leave a comment down below for more suggestions videos or questions.
You can also find me on Twitter, Instagram, and Facebook.  

Kris Lacanlale - DREAM CATCHER GIRL | YOUR SAVVY SASSY GIRL

 

2

Technology, Video

 If you are looking forward to practicing in PHP, the first thing you want is to set up a local development environment. On Windows, WAMP is a popular choice. Let me show you how to install it on Windows 10.

Note: WAMP and XAMPP are the choices you can have for windows. For Linux, you can try a LAMP and for Mac is MAMP. All I can say is that get yourself a development environment quickly and start coding. Let’s start it!



Here are the following installation steps by step.

 

Step 1 – Download the Wamp server from the Wamp Server website.


Step 2 – Scroll down to the download section.

Based on your system, choose a 32-bit or 64-bit version of the installer. I choose 64 bit, PHP 7 version because this is the latest release of PHP and I’m using a 64-bit OS distro as well.


Step 3 – Click the appropriate link to download the Installer.

A. You should see something like this. Click the download direct link to start the download.
B. If this is the first time to install wamp, don’t forget to install as well the  Visual Studio 2012: VC 11 vcredist_x64/86.exe On the same browser window, you will be redirected to Sourceforge webpage to start the software download.



Step 4 – Locate the downloaded file.

By default, it should be in your downloads folder if you have not changed the default settings.

Step 5 – Double click the installer to begin the installation.

Double click to proceed to our installation. Now you should see the Windows User access control dialog box. Click Yes to continue.

 

Step 6 – The dialog box that appears will now ask you to choose your language for installation.

Select your preferred language from the drop-down list and click OK. We will be using English for this demonstration.


Step 7 – You should see the Wamp Server Licence agreement dialog box.

Click “I accept the agreement” radio button and “Next” to continue.

Step 8 – Proceed to the information dialog box.

This is to inform you about the required component that your windows machine has for the Wamp Server to function correctly. Get the most updated version of the Microsoft VC++ redistributable package. You can still continue to install Wamp Server without issues even without downloading it first. But after installation when you start the wamp server and get an error message complaining about the missing file. Or rather, click Next to Continue.

Step 9 – Select the location where you want to install Wamp Server.

You can accept the default or choose on different drives to install it and click next.


Step 10 – Select the Startup Menu Folder.

In this dialog box, you have to select your chosen folder in which the program shortcuts should be placed. If you select the default, it would be placed in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Wampserver64.

The 64 at the end of Wampserver 64 is to tell you that you will be using the 64-bit version of the application. If you don’t see 64, then you will be using the 32-bit version of the application.


Step 11- Finally, the Ready to install dialog box.

You can review the details and make the changes by going back by clicking the Back button. Once you click Next, installation begins.
Click Next to begin the installation. Now, you will see the installation begins.

Step 12 – Select default browser dialog box

Now, you should see a dialog box, it will ask you if Internet Explorer should be made the default browser or if you want to change the default browser to something else. Click NO to accept Internet Explorer as the default browser.
If you want to change the default browser to say Google Chrome / Firefox, click yes and you should see something like this:
Again the choice between Internet Explorer and Chrome or anything else is purely your own choice and I don’t see any issue on accepting the default and leaving it as Internet explorer.

In Windows 10, Google Chrome executable is located in C:\Program Files (x86)\Google\Chrome\Application folder by default. Go to this folder and select chrome.exe and click open. If you click cancel, it would again default to Internet Explorer.


Step 13- Select default Text Editor.

I would suggest you can accept the default, which is notepad by clicking No. It’s just that if you want to edit apache or PHP config files such as http.conf or php.ini, it would open in notepad. Still, if you want to change it you can click Yes and navigate your preferred executable .exe file of your text editor. But, as I said, the default notepad is perfect.


Step 14 – Launch PHPMyAdmin Information dialog box

After the installation is complete, you will see a dialog box informing you that the user name for PHPMyAdmin is “root” and the password is not set, that is there is no password for it. Click Next to continue.


Step 14- Installation Complete.

Now, you should see the installation complete dialog box. Click Finish to exit the Wamp Server installation wizard. Wamp Server should now be installed on your system.


Step 15- Start WampServer

You can now start the Wamp Server by double-clicking on the shortcut wamp server icon on your desktop or alternatively launch it from the start menu. After the Wamp Server starts, you can see the Green icon on the taskbar as shown below. Initially, it will be Red (establishing a connection), then turn orange and then Green (good connection). When it turns green, it means all the services are now running properly. Else, the Wamp Server has not started. Please note that you will have to give administrative privileges for the Server to start. That is just clicking Yes when you see the UAC confirmation dialog box when you click the Wampserver icon to start the server. When you right-click on the icon, you can see the options to start, stop and restart the WampServer along with other option which I leave for you to explore.



via GIPHY



That’s it, you are done!


If you have any questions, don’t hesitate to comment on it down below.
I’ll be happy to answer it all.
Don’t forget to follow us on our social media accounts.
xoxo
Kris Lacanlale - DREAM CATCHER GIRL | YOUR SAVVY SASSY GIRL

2