Hi friends, In this post I am going to explain about how to install PHP in your Windows, Mac and Linux systems. Earlier we learned about What is PHP and Introduction to LAMP, and this post is another lesson from Learn PHP online.
Install PHP in your system, select steps by your operating system.
We can install either or one software. WAMP or XAMPP. Download WAMP from below link:
Step 1: Apache installation
sudo apt-get install apache2
Step 2: MySQL installation
Then prompt for current root password and give the password.
Step 3: PHP installation
Step 4: Restart server
Go to MAMP website and download MAMP. Once downloaded is finished then open it and drag & drop that image file into your Applications folder. Then follow the screens how to launch the MAMP