Setting directory specific php version

Hi, I have a virtualmin setup with php 5.6 7 and 7.2, I have two apps running on the same domain one needs php 5.6 the other php 7, can someone help me setup directory specific php in virtualmin, like on cpanel to get this to work, I added handlers in htaccess but the page just downloads.