> ## Content Index
> Fetch the complete content index at: https://scriptcrunch.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How To Setup Php ,Mysql And Apache To Run On Windows And Linux
- URL: https://scriptcrunch.com/how-to-setup-php-mysql-and-apache-to-run-on-windows-and-linux/
- Published: 2013-04-19T13:06:00.000Z
- Updated: 2026-06-23T08:56:27.000Z
- Author: Scriptcrunch Editorial
- Tags: #Migrated-1758801465347, #wp, #wp-post, #Import 2025-09-25 11:57

Setting up the Php, Mysql and Apache environment on windows and [Linux](https://scriptcrunch.com/tag/linux/) is not a hard thing to do. Either you can install everything separately or you can install it as a package. For windows it is called WAMP server (Windows Apache Mysql Php) and for linux it is called LAMP server (Linux Apache Mysql Php).  

### 1)Installing WAMP on windows:

1. Download Wamp server from here . ***[Downoad WAMP](http://www.wampserver.com/?ref=scriptcrunch.com)***
2. Once the file is downloaded, click and install it.
3. You will find the wamp server icon on the task bar.
4. Right click the icon and you will see all the installed services. ie, php, MySQL, Apache and phpmyadmin.
5. Phpmyadmin is the GUI tool for managing Mysql [databases](https://scriptcrunch.com/tag/databases/).
6. By default the username of the MySQL [database](https://scriptcrunch.com/tag/databases/) will be "root". and there will be no password. You can set user name and password using command line interface of Mysql.
7. Using wamp server you can run your php and mysql websites on your localhost.

### 2)Installing LAMP server on Linux:

1. Open linux terminal and type the following code to install LAMP server in Linux.

 sudo apt-get install Lamp-server^