Try to install php-scl but i dont find it on new UI.
php-scl module has not been ported yet to cockpit UI. Don’t know when it will ported or if it we be ported at all (Stéphane might provide more details on it).
Configuration of different php version on Virtual Hosts through Cockpit is on its way:
We are working, please be patient
There’s a testing package available! Do you want to try it?