There are a lot of posts on the internet explaining how to configure a LAMP environment but there are very few articles describing how to configure an existing Apache server to use PHP, considering that Apache is already installed at another location then the default one.
Such a scenario I encountered in the case of an AWS Lightsail Node.js stack which came with Apache installed but no PHP module configured.
Does anyone have any idea how to configure an existing Apache installation to work with PHP?