LAMP Question

Hello lads,

Can someone guide me if there is a easy or hard way to switch from PHP 7+ to PHP 5+ ?

I was using wamp on windows 10 that there was a easy option regarding this. Im using XAMPP from archlinux aur now.

I don’t know XAMPP, but maybe this guide can be useful: