The server does not execute php files

Yesterday I installed webmin+Virtualmin. After installation set up the server as usual. Created a virtual environment, put on a PHP script. So instead of execute PHP files, the server offers to download them. Solved this problem by changing the site mode to mod_php, which. But this mode does not suit me, so it is not possible to choose the PHP version for individual directory website. How can I make it work with PHP in the “FCGId (run as virtual server owner)”?

the solution found at this link -
topic closed