3 ms·
I seem to recall being able to do this with some effort in the old days. You might have to compile the mod_php's yourself though, looks like at least FreeBSD pa
by toast0 5y ago
I seem to recall being able to do this with some effort in the old days. You might have to compile the mod_php's yourself though, looks like at least FreeBSD packages have different php versions conflict with each other.
If you use php_fpm as others suggest, it would likely be easier.
Either way, you need to have some way to indicate which version you want; it used to be common on shared hosting to have .php3 vs .php4 vs .php5 files to indicate which version you wanted; but I think modern PHP tends to have less code that doesn't work with newer versions.