Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

3. WAMP, LAMP, XAMPP & MAMP

Lesson 4 of 36 in the free Web Based Programming notes on Siksha Sarovar, written by Rohit Jangra.

1. Introduction to Local Server Environments

Local server environments allow developers/students to run web applications on their own computer before deploying them to a remote server. These servers bundle Web Server + Database + Programming Language.

2. Deep Dive: How the Stack Works

When you start XAMPP/WAMP, multiple services run together:

  1. Apache listens for requests on port 80.
  2. If the request is for a .php file, Apache hands it to the PHP Interpreter.
  3. PHP executes the logic and, if needed, fetches data from MySQL.
  4. The final result is converted back to HTML and sent to your browser.

3. WAMP Server

What is WAMP? WAMP stands for: • W – Windows • A – Apache • M – MySQL • P – PHP

It is used on Windows OS only.

Installation Steps (WAMP):

  1. Download WAMP server installer
  2. Run the installer
  3. Choose installation directory
  4. Select default browser
  5. Finish installation
  6. Start WAMP server
  7. Check server via: http://localhost

Advantages: • Easy to install on Windows • Good for beginners • Simple interface

Limitations: • Windows only • Less flexible than XAMPP

3. LAMP Server

What is LAMP? LAMP stands for: • L – Linux • A – Apache • M – MySQL • P – PHP / Python / Perl

Used mainly on Linux systems.

Installation Steps (LAMP – Basic):

  1. Install Apache server
  2. Install MySQL database
  3. Install PHP
  4. Configure Apache & PHP
  5. Restart services
  6. Test using localhost

Advantages: • Highly secure • Open-source • Preferred for production servers

Limitations: • Complex installation • Requires Linux knowledge

4. XAMPP Server

What is XAMPP? XAMPP stands for: • X – Cross-platform • A – Apache • M – MySQL • P – PHP • P – Perl

Works on Windows, Linux, and macOS.

Installation Steps (XAMPP):

  1. Download XAMPP installer
  2. Run setup file
  3. Select components (Apache, MySQL, PHP)
  4. Complete installation
  5. Start Apache & MySQL from control panel
  6. Open: http://localhost

Advantages: • Cross-platform • Very easy to use • Most popular for students

Limitations: • Not recommended for production • Security settings are basic

5. MAMP Server

What is MAMP? MAMP stands for: • M – macOS • A – Apache • M – MySQL • P – PHP

Used mainly on macOS (also available for Windows).

Installation Steps (MAMP):

  1. Download MAMP
  2. Install application
  3. Launch MAMP
  4. Start servers
  5. Access site via localhost

Advantages: • Best for macOS users • Simple UI • Stable environment

Limitations: • Some features are paid • Less common in colleges

6. Comparison of WAMP, LAMP, XAMPP & MAMP

ServerOSEase of UsePopularity
WAMPWindowsEasyMedium
LAMPLinuxDifficultHigh (Production)
XAMPPCross-platformVery EasyVery High
MAMPmacOSEasyMedium