php - Install php5 on Ubuntu 16.04 without installing Apache 2.4 - Ask Ubuntu
i want install php 5 (any version, 5.3 5.6) on ubuntu 16.04 without installing apache 2.4.
(i have installed apache 2.2 following suggestion http://blog.thestateofme.com/2015/07/23/apache-2-2-on-ubuntu-14-04/ )
the answer how install different (upgrade or downgrade) php version in still supported ubuntu release? suggests ppa:ondrej/php , other ppas install apache 2.4.
i have tried use precise repositories did not succeed.
my purpose keep localhost mirror of site runs apache 2.2 , php 5. (php 7.0 breaks installed version of 1 of plugins.)
please help.
the reason why apt-get installing apache2 because resolving dependency. satisfy dependency first install php5-fpm before php5:
sudo apt-get -y install php5-fpm php5
this should solve issue having. got answer here
Comments
Post a Comment