Installing PHP and MySQL in windows, mac and linux

By: Jason Khov  

On Ubuntu, you can install everything in a single command.
Just open your terminal window and type:

sudo apt-get install lamp-server^

(the ^ symbol at the end of this command is mandatory)

While LAMP environment is most widely used (Linux, Apache, MySQL and PHP) you also can use PHP in windows or mac computers. Here's how you can install PHP development environment in windows and mac pcs.

On windows, you can download and install WAMP. With one installation and you get an apache webserver, database server and php. 

On mac, you can download and install MAMP. 

Saves me a lot of headache to do development locally on my computer.

Archived Comments

Most Viewed Articles (in PHP )

Latest Articles (in PHP)

Comment on this tutorial