Before using PHP we need to install it first. So, I am going to explain installation of php, about XAMPP, WAMP, LAMP, MAMP etc.
There are two ways to install PHP.
- Manually Configured PHP
- Installation of AMP(Apache, MySQL, PHP) software stack
To install PHP, my recommendation is to install AMP software stack. It is available for all operating systems. There are many AMP options available in the market that is given below:
- WAMP for Windows
- LAMP for Linux
- MAMP for Mac
- SAMP for Solaris
- FAMP for FreeBSD
- XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform: It also includes few other components Like FileZilla, OpenSSL, Webalizer, Mercury Mail etc.
If you are on Windows and don’t want Perl and other features of XAMPP, you should go for WAMP. In a likely manner, you may use LAMP for Linux and MAMP for Macintosh.
If you are a windows user and do not want additional features of XAMPP like perl etc, you can go for WAMP. Similarly Linux users can go for LAMP and Mac user for MAMP etc.
You can download these servers from the links given(as per your requirement).
Download WAMPP server here.
Download Lamp server here.
Download MAMP server here.