О Высоких Технологиях и Жизненных Ситуациях

Install Apache2 and PHP 5.6 for UBUNTU

 

Install Apache — server:

apt-get install apache2

Add  repository for php packages:

add-apt-repository ppa:ondrej/php

Install php version 5.6:

apt-get install php5.6

apt-get install php5-cli

Very important module without it  I can’t work with *.php files, they just download.
apt-get install libapache2-mod-php5

 

Also don’t forget install additional php modules for work with mysql, images, curl…. etc.

php5-curl

php5-gd

php5-mysqlnd

All available list here : http://packages.ubuntu.com/search?keywords=php5-&searchon=names&suite=trusty&section=all

Leave a comment for: "Install Apache2 and PHP 5.6 for UBUNTU"