Is it possible to configure nginx serve random php versions?

Viewed 38

I have an nginx with two different php-fpm versions (7.4 and 8.1).

I want to let nginx load random both php versions.

For example, at this time info.php is loaded with 7.4, and the other time it should show 8.1.

Is that possible to do?

0 Answers
Related