php version in Debian Stretch

0

I am using tuba and it uses version 5 of php, but the Debian 9 Stretch comes by default php 7. Although I was able to install version 5.6, I do not know how to tell Apache to use 5.6 instead of 7.

El problema es que las mayorías de las librerías que utiliza el siu,
requieren php 5 y no 7.

Thank you, best regards.

    
asked by GAL 03.07.2017 в 20:49
source

1 answer

0

Try updating the alternatives for PHP, with the command:

sudo update-alternatives --config php

You should also install the module libapache2-mod-php5.6 , and then do

a2enmod -m php5.6

For more information you can check the official documentation

link link

    
answered by 03.07.2017 в 20:56