Script in BASH Install Ubuntu 16.04 PHP 5.6

apt-get update -y
apt-get upgrade -y
apt-get install -y apache2
apt-get install -y mysql-client mysql-server
apt-get install -y git

apt-get install -y mc

apt-get install -y zip

apt-get install -y curl

apt-get install software-properties-common

add-apt-repository ppa:ondrej/php
apt-get update

apt-get install -y php5.6 libapache2-mod-php5.6 php5.6-cli php5.6-common

apt-get install -y php5.6-mbstring php5.6-gd php5.6-intl php5.6-xml php5.6-mysql

apt-get install -y php5.6-mcrypt php5.6-zip php5.6-curl php5.6-gd php5.6-soap apt-get install -y php5.6-ldap php5.6 php5.6-xmlrpc php5.6-xsl
a2enmod ssl rewrite

apt-get install phpmyadmin

service apache2 restart

curl -sS https://getcomposer.org/installer | sudo php — –install-dir=/usr/local/bin –filename=composer

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.