XAMPP vs. WAMP

Categories WordPress
XAMPP vs WAMP

“XAMPP vs. WAMP” is a comparison about two local servers. When you want to run your website on a local server, then you must make a decision: XAMPP or WAMP?

Do I use XAMPP or do I use WAMP as a local server? This article “XAMPP vs WAMP” helps you to decide. The main difference between the two local servers is this one:

  • XAMPP runs on every operation system.
    • X-OS (any Operating System), Apache (web-server), MySQL (database), PHP (language), PERL (language)
  • WAMP runs only on Windows.
    • Windows (OS), Apache (web-server), MySQL (database), PHP (language).

WAMP runs only on Windows and provides support only for MySQL and PHP. XAMPP runs on every operating system and provides support for MySQL, PHP and PERL.

I show you this in the article:

One important thing to note is that WAMP cannot run parallel with XAMPP. XAMPP gets priority by default. So, the overall question of this topic is: XAMPP or WAMP which one is better? Check the table to get an overview.

XAMPP vs. WAMP – Differences

Find the main differences of XAMPP and WAMP in the table:

Server XAMPP WAMP
Installation easier than WAMP harder than XAMPP
Graphical user interface yes yes
Resource consumption higher than WAMP lower than XAMPP
Platforms multi-platform Windows
Internal parts Tomcat, FileZilla FTP Server, Webalizer, Mercury Mail FileZilla FTP Server
SSL yes no
Apache yes yes
MySQL yes yes
PHP yes yes
PERL yes no

WAMP is lighter than XAMPP. So, when you do not have high demands, then use WAMP.

XAMPP vs. WAMP – Which One is Better for Me?

Which local server fits your demands best depends on these points:

  • Operating System
  • Technical know-how
  • Memory
  • Internal parts
  • Support

Operating System

XAMPP runs on every operating system. WAMP runs on Windows only. So, if you do not use Windows, then you cannot use WAMP.

Technical Know-how

If you do not have much technical know-how, then use XAMPP. The installation of XAMPP is easier than the installation of WAMP.

Memory

XAMPP needs more resources than WAMP. When your PC has low RAM, then use WAMP.

Internal Parts

Find a list of internal parts of XAMPP and WAMP in the table below:

XAMPP WAMP
Tomcat FileZilla FTP server
FileZilla FTP server
Webalizer
MercuryMail

Support

Here is a list of the software that XAMPP and WAMP support:

XAMPP WAMP
Apache Apache
MySQL MySQL
PHP PHP
SSL
PERL

Let´s see how you install XAMPP on your PC.

How Do I Install XAMPP on my PC?

Install XAMPP on your PC this way:

  1. Download XAMPP from the XAMPP website.
  2. Run the setup.exe to install XAMPP.

XAMPP is installed.

The next step is to check, whether you have installed XAMPP correctly. Check whether you have installed XAMPP correctly this way:

  1. Open the root directory of XAMPP.
  2. Run the xampp-control.exe.

The XAMPP control panel is opened.

xampp control panel
Xampp control panel
  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache webserver. Go to the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.

The XAMPP starting page is opened. XAMPP is installed correctly.

The next step is to check, whether you have installed the MySQL database correctly. Check whether you have installed the MySQL database correctly this way:

  1. Open the root directory of XAMPP.
  2. Run the xampp-control.exe.

The XAMPP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Go to the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.

The XAMPP starting is opened.

  1. Click phpMyAdmin on the menu.

The MySQL admin page is opened. MySQL is installed correctly.

How Do I Install WordPress on XAMPP?

Before you start to install WordPress, upload the WordPress directory to XAMPP.

How Do I Upload WordPress to XAMPP?

Upload the WordPress directory to XAMPP this way:

Prerequisites:

  • Install XAMPP on your PC.
  • Download WordPress.
  1. Open the directory in which you have saved WordPress.
  2. Unzip the WordPress folder to the directory /xampp/htdocs/.

A new directory with the WordPress files is created.

  1. Name the new directory “wordpress”.
  2. Open the directory wordpress.
  3. Check, whether these directories exist:
    1. wp-admin
    2. wp-content
    3. wp-includes

When the directories exist in the wordpress directory, then WordPress is uploaded to XAMPP.

Troubleshooting:

If the directories do not exist in the wordpress directory, then go to the troubleshooting section to solve this issue.

Now you may start to install WordPress. Therefore, you need a database.

How Do I Create a Database for WordPress?

Create a database for WordPress this way:

  1. Open the root directory of XAMPP.
  2. Run the xampp-control.exe.

The XAMPP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Go to the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.
  3. Click phpMyAdmin on the menu.

The MySQL admin page is opened.

  1. Click New on the left side bar.

The database configuration page is opened.

  1. Choose a name for your database.
  2. Click Create.

A database is created.

Note:

The username for your database is root by default. The password is empty by default.

The next step is to connect WordPress to your database.

How Do I Connect WordPress to My Database?

Connect WordPress to your database this way:

  1. Open the root directory of WordPress.
  2. Open the wp-config-sample.php.
  3. Search for the line define(‘DB_NAME’, ‘Name of Your Database’);.
  4. Replace Name of Your Database with the current name of your database.
  5. Search for the line define(‘DB_USER’, ‘username_here’);.
  6. Replace username_here with root.
  7. Search for the line define(‘DB_PASSWORD’, ‘password_here’);
  8. Warning:

    Do not delete the quotes

    Delete password_here.

  1. Save the file as wp-config.php.

WordPress is connected to your database.

After you have connected the database to WordPress, start to install WordPress.

How Do I Install WordPress on XAMPP?

Install WordPress on XAMPP this way:

  1. Open the root directory of XAMPP.
  2. Run the xampp-control.exe.

The XAMPP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. In this case change the port of Apache. Go to the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost/wordpress into the navigation line.

The WordPress installation page is opened.

Troubleshooting:

If the WordPress installation page does not open, then go to the troubleshooting section to solve this issue.

  1. Select your language.
  2. Click Continue.
  3. Note:

    Note the password.

    Fill out the form.

  1. Click Install WordPress.

The confirmation page is opened. WordPress is installed.

Let´s see how you may install WAMP on Windows.

How do I install WAMP on Windows?

Before you install WordPress on WAMP, install WAMP on Windows.

Install WAMP on Windows this way:

  1. Download WAMP from the WAMP website.
  2. Run the exe to install WAMP.

WAMP is installed.

The next step is to check whether you have installed WAMP correctly. Check, whether you have installed WAMP correctly this way:

  1. Open the root directory of WAMP.
  2. Run the wamp-control.exe.

The WAMP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Go to the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.

The WAMP starting page is opened. WAMP is installed correctly.

The next step is to check whether you have installed the MySQL database correctly. Check whether you have installed the MySQL database correctly this way:

  1. Open the root directory of WAMP.
  2. Run the wamp-control.exe.

The WAMP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Open the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.

The WAMP starting page is opened.

  1. Click phpMyAdmin on the menu.

The MySQL admin starting page is opened. MySQL is installed correctly.

How Do I Install WordPress on WAMP?

Before you start to install WordPress, upload the WordPress directory to WAMP.

How Do I Upload WordPress to WAMP?

Upload the WordPress to WAMP this way:

Prerequisites:

  • Install WAMP on Windows.
  • Download WordPress.
  1. Go to the directory where you have saved WordPress.
  2. Unzip the WordPress directory to the directory /wamp/htdocs/.

A new directory with the WordPress files is created.

  1. Name the new directory “wordpress”.
  2. Open the directory wordpress.
  3. Check, whether these directories exist:
    • wp-admin
    • wp-content
    • wp-includes

When the directories exist in the wordpress directory, then WordPress is uploaded to WAMP.

Troubleshooting:

If the directories do not exist in the wordpress directory, then open the troubleshooting section to solve this issue.

Now you may start to install WordPress. Therefore, you need a database.

How Do I Create a Database for WordPress?

Create a database for WordPress this way:

  1. Open the root directory of WAMP.
  2. Run the wamp-control.exe.

The WAMP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Open the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost into the navigation line.
  3. Click phpMyAdmin on the menu.

The MySQL admin dashboard is opened.

  1. Click New on the left side bar.

The database configuration page is opened.

  1. Choose the name of your database.
  2. Click Create.

A database is created.

Note:

The username for your database is root by default. The password is empty by default.

The next step is to connect WordPress to your database.

How Do I Connect WordPress to My Database?

Connect WordPress to your database this way:

  1. Open the root directory of WordPress.
  2. Open the wp-config-sample.php.
  3. Search for the line define(‘DB_NAME’, ‘Name of Your Database’);.
  4. Replace Name of Your Database with the current name of your database.
  5. Search for the line define(‘DB_USER’, ‘username_here’);.
  6. Replace username_here with root.
  7. Search for the line define(‘DB_PASSWORD’, ‘password_here’);
  8. Warning:

    Do not delete the quotes.

    Delete password_here.

  1. Save the file as wp-config.php.

WordPress is connected to your database.

After you have connected the database to WordPress, start to install WordPress.

How Do I Install WordPress on WAMP?

Install WordPress on WAMP this way:

  1. Open the root directory of WAMP.
  2. Run the wamp-control.exe.

The WAMP control panel is opened.

  1. Click Apache Webserver.

The Apache webserver is started.

Troubleshooting:

The port that Apache webserver listens to, might be used by another app. So, the port is busy. When the port is busy, then change the port of Apache. Open the troubleshooting section to change the port of Apache.

  1. Click MySQL database.

The MySQL database is started.

  1. Open your web browser.
  2. Enter localhost/wordpress into the navigation line.

The WordPress installation page is opened.

Troubleshooting:

If the WordPress installation page does not show up, then open the troubleshooting section to solve this issue.

  1. Select your language.
  2. Click Continue.

The next page shows up.

  1. Note:

    Note the password.

    Fill out the form.

  1. Click Install WordPress.

The confirmation page is opened. WordPress is installed.

Troubleshootings:

The Port of My Apache Web Server is Busy

Note:

The root directory may be at C:/xampp/

Open the root directory of XAMPP

  1. Open the apache directory.
  2. Open the conf
  3. Open the file conf.
  4. Change the line Listen 80 to Listen 8080.
  5. Change the line ServerName localhost:80 to ServerName localhost:8080.
  6. Save the conf.
  7. Open the directory extra.

Note:

The directory is in the conf directory.

  1. Open the file httpd-ssl.conf.
  2. Change the line Listen 443 to Listen 4499.
  3. Change the line ServerName www.example.com:443 to ServerName localhost:4499.
  4. Save the httpd-ssl.conf.
  5. Restart Apache Webserver.

I Cannot Upload WordPress to XA

database for WordPress this way:

  1. Open the root directory of WAMP.
  2. Run the wamp-control.exe.

PP

  1. Open the directory in which you have downloaded the WordPress directory in step 1 of How do I upload WordPress to XAMPP?
  2. Unzip the WordPress directory in the current directory.
  3. Open the unzipped WordPress directory.
  4. Check, whether these directories exist:
    • wp-admin
    • wp-content
    • wp-includes

Note:

When the directories exist, then go on with step 5. If they do not exist, then your WordPress download is incomplete. Download WordPress again. Start again at step 1 of How do I upload WordPress to XAMPP?

  1. Select the whole content of the directory.
  2. Copy the selection.
  3. Open the root directory of XAMPP.
  4. Open the htdocs
  5. Open the wordpress
  6. Paste the selection from step 5.

WordPress is uploaded to XAMPP.

My WordPress Installation Page Does Not Show Up

There may be several reasons why your WordPress installation page does not show up:

  • You did not install XAMPP correctly.
    • Check How do I install XAMPP on my PC? to install WAMP correctly.
  • You did not install WordPress on WAMP correctly.
    • Check How do I install WordPress on XAMPP? to install WordPress on WAMP correctly.
  • You did not create your database correctly.
    • Check How do I create a database for WordPress? To create your database correctly.
  • You did not connect your database to WordPress correctly.
    • Check How do I connect WordPress to my database? to connect WordPress to your database correctly.
  • You did not install Apache webserver correctly.
    • Check How do I install XAMPP on my PC? to install Apache webserver correctly.
  • You did not install MySQL database correctly.
    • Check How do I install XAMPP on my PC? to install MySQL database correctly.
  • Your Apache webserver is not running.
    • Check How do I install XAMPP on my PC? to start your Apache webserver.
  • Your MySQL database is not running.
    • Check How do I install XAMPP on my PC? to start your MySQL database.

The Port of My Apache webserver is Busy

Note:

The root directory may be at C:/wamp/

Open the root directory of WAMP

  1. Open the apache directory.
  2. Open the conf
  3. Open the file conf.
  4. Change the line Listen 80 to Listen 8080.
  5. Change the line ServerName localhost:80 to ServerName localhost:8080.
  6. Save the conf.
  7. Open the directory extra.

Note:

The directory is in the conf directory.

  1. Open the file httpd-ssl.conf.
  2. Change the line Listen 443 to Listen 4499.
  3. Change the line ServerName www.example.com:443 to ServerName localhost:4499.
  4. Save the httpd-ssl.conf.

The port of Apache is changed.

I Cannot Upload WordPress to WAMP

  1. Open the directory in which you have downloaded the WordPress directory in step 1 of How do I upload WordPress to WAMP?
  2. Unzip the WordPress directory in the current directory.
  3. Open the unzipped WordPress directory.
  4. Check, whether these directories exist:
    • wp-admin
    • wp-content
    • wp-includes

Note:

When the directories exist, then go on with step 5. If they do not exist, then your WordPress download is incomplete. Download WordPress again. Start again at step 1 of How do I upload WordPress to WAMP?

  1. Select the whole content of the directory.
  2. Copy the selection.
  3. Open the root directory of WAMP.
  4. Open the htdocs
  5. Open the wordpress
  6. Paste the selection from step 5.

WordPress is uploaded to WAMP.

My WordPress Installation Page Does Not Show Up

There may be several reasons why your WordPress installation page does not show up:

  • You did not install WAMP correctly.
    • Check How do I install WAMP on Windows? to install WAMP correctly.
  • You did not install WordPress on WAMP correctly.
    • Check How do I install WordPress on WAMP? to install WordPress on WAMP correctly.
  • You did not create your database correctly.
    • Check How do I create a database for WordPress? To create your database correctly.
  • You did not connect your database to WordPress correctly.
    • Check How do I connect WordPress to my database? to connect WordPress to your database correctly.
  • You did not install Apache webserver correctly.
    • Check How do I install WAMP on Windows? to install Apache webserver correctly.
  • You did not install MySQL database correctly.
    • Check How do I install WAMP on Windows? to install MySQL database correctly.
  • Your Apache webserver is not running.
    • Check How do I install WAMP on Windows? to start your Apache webserver.
  • Your MySQL database is not running.
    • Check How do I install WAMP on Windows? to start your MySQL database.
XAMPP vs. WAMP
4.4 (87.78%) 203 votes

3 thoughts on “XAMPP vs. WAMP

  1. Hi Andre,
    using a strong password is a really good recommendation. This really is something most people forget when working on a local system. I will update your point in the post 🙂

  2. Hey there, you should remove your notification about clicking on the advertisement. If your Ad Provider gets somehow this message, your account will be locked and you won’t see a dime from them afterwards. I’m speaking from personal experience. I would be better to provide a link to donate via paypal or similar. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *