PHP installation procedure in Windows, Mac and Linux systems

in Course, PHP / 2 Comments

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.

PHP installation procedure in Windows, Mac and Linux systems by Anil Kumar Panigrahi

PHP installation procedure in Windows, Mac and Linux systems by Anil Kumar Panigrahi

Install PHP in your system, select steps by your operating system.

Windows:

We can install either or one software. WAMP or XAMPP. Download WAMP from below link:
http://www.wampserver.com/en/

Screen 1:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 2:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 3:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 4:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 5:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 6:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 7:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 8:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 9:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 10:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Screen 11:

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

PHP installation procedure in Windows(WAMP) by Anil Kumar Panigrahi

Linux/Ubuntu:

Step 1: Apache installation

sudo apt-get update
sudo apt-get install apache2

Step 2: MySQL installation

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation

Then prompt for current root password and give the password.

Step 3: PHP installation

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Step 4: Restart server

sudo service apache2 restart

http://www.anil2u.info/2009/11/simple-steps-to-install-php5-in-ubuntu/

Mac:

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
http://www.mamp.info/en/downloads/

Screen 1:

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

Screen 2:

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

Screen 3:

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

PHP installation procedure in Mac(MAMP) by Anil Kumar Panigrahi

Discussion 2 Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>