Article 6DDCX Wordpress at Ubuntu

Wordpress at Ubuntu

by
palexeim
from LinuxQuestions.org on (#6DDCX)
Hi

I'm trying to solve the test task.
I need to install Wordpress with Nginx, MySQL, PHP (7.3, 7.4, 8.0).

The 1st virtual host need to be handled via 7.3 PHP through the port 'pool' to 'inet'.
The 2nd virtual host need to be handled via 7.4 PHP through the port 'pool' to 'www'.
The 3rd virtual host need to be handled via 8 PHP through the socket.

Each vhost need to display phpinfo via the browser.

One of the puncts is "create directories /var/www/wp(1-3)". That let me suggest that there'd be 3 separate WP hosts (like 3 instances) each of them would be processed via own PHP version.

The question is: Does it possible to make such thing through one instance of Wordpress (and make WP handle separate host through separate PHP version) or there really should be 3 different instances?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments