Installing Apach2 and PHP5.6,This weblog gets you through facile steps for installing Apache2 and PHP5.6 on AWS ec2 Ubuntu sixteen.04 example.
Pre-requiste :
Ubuntu instance on AWS ec2.
(It follows identical steps as to install Linux instance, with the simplest distinction in choosing type of AMI, which in this example is Ubuntu Server 16.04. Click right here to get the stairs).
Installing Apach2 and PHP5.6,Apache2 set up on AWS ec2 Ubuntu 16.04:
According to wiki, Apache is a loose and open-supply move-platform web server, released below the terms of Apache License 2.Zero. Apache is developed and maintained by using an open community of builders under the auspices of the Apache Software Foundation.
It is the most commonly used internet server on linux and following are the easy steps to install it onto your Ubuntu server:
Step 1. Update
sudo apt-get replace
Step 2. Upgrade the distributor
sudo apt-get dist-upgrade
Step 3. Install apache2
sudo apt-get set up apache2
Step 4. Go to browser and kind the instance ip deal with and you may see the default apache2 ubuntu page
Step 5. If you want to stop the web server, then type:
sudo /etc/init.d/apache2 stop
Step 6. To restart the web server:
sudo /etc/init.d/apache2 restart
Step 7. You can check the default index.html file resides in /var/www/html
Installing Apach2 and PHP5.6, set up on AWS ec2 Ubuntu 16.04:
It is a server scripting language and a radiant device to create dynamic and interactive net pages.
Following are the clean steps to install it on Ubuntu server.
Installing Apach2 and PHP5.6Step 1. Setup an Ondrej Repositroy: Ondrej Sury continues PHP5.6 and PHP7.Zero repository for Ubuntu and Debian.
Sudo apt-get update
sudo apt-get set up -y software program-residences-not unusual
sudo upload-apt-repository ppa:ondrej/
Step 2. Install php5.6 on ubuntu 16.04
sudo apt-get update
sudo apt-get deploy -y php5.6
Step 3. To understand the model installation
php -v
Finally, all steps were observed to finish the set up.
After a success installation, Aapche may be without difficulty incorporated with Jenkins for deployment.
Furthermore, check our related articles to get this integration done.