Different version of php for subfolder

Hi,
it’s possible to set a specific version of php for a subfolder ? I mean 7.x for the main folder and 8.x for a specific subfolder.

I’ve different version of php installed on my server.

Thanks

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Usermin version 2.102
Virtualmin version 7.20.2
Theme version 21.20.7
Apache version 2.4.41

Switch php mode from fpm to fcgi that will allow you to do that

Thanks dear :wink:

Or, give the weird app its own Virtual Server (could be on a subdomain of your other app, names don’t matter) and give it the version it needs.

yes I had also thought about this alternative, thanks.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.