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.
http://www.wampserver.com 

On mac, you can download and install MAMP. 
http://www.mamp.info/ 

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





Most Viewed Articles (in PHP )

Installing PHP with nginx-server under windows

PHP ./configure RESULTING IN [email protected]_2_2_3_... AND UNRESOLVED REFERENCES WITH ORACLE OCI8

PHP 5.1.4 INSTALLATION on Solaris 9 (Sparc)

Building PHP 5.x with Apache2 on SuSE Professional 9.1/9.2

Installing PHP 5.x with Apache 2.x on HP UX 11i and configuring PHP 5.x with Oracle 9i

Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:......

Setting up PHP in Windows 2003 Server IIS7, and WinXP 64

error: "Service Unavailable" after installing PHP to a Windows XP x64 Pro

Running different websites on different versions of PHP in Windows 2003 & IIS6 platform

Function to convert strings to strict booleans in PHP

Convert IP address to integer and back to IP address in PHP

Function to return number of digits of an integer in PHP

Function to force strict boolean values in PHP

Function to sort array by elements and count of element in PHP

PHP pages does not display in IIS 6 with Windows 2003

Latest Articles (in PHP)

Comment on this tutorial