My main aim is to install php5.6 while i am having php7.2 already in my laptop.i tried to install it but it's not working in ubuntu 18.04.
the commands which i ran are given below--
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6
the issue which i got after this is given below-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php5.6-json' for regex 'php5.6'
Note, selecting 'php5.6-common' for regex 'php5.6'
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.c