Make Wordpress Toolkit aware of virtual directories and their PHP version
Scenario
You have a legacy site that only supports up to a certain version of PHP on the root of domainname.co.uk (let's say PHP 5.6)
You also have a WordPress installation on domainname.co.uk/blog/ which is also a virtual directory.
Via virtual directory for the blog, you have selected PHP 8.2
WP Toolkit is not aware of the setting of the virtual directory and assumes the PHP version to be the same as the root.
After upgrading WP to 6.6.x WP Toolkit displays "Broken WordPress site" but the WordPress installation is actually fine.
Thank you for your suggestion. WP Toolkit uses the panel's API to know which handler is used for a domain, and cannot support any manual configurations. For example you can create different domain for this site, with document root inside the docroot of the main site or proxy requests from the main domain's subfolder to the domain.
In these cases WP Toolkit can detect correctly the PHP handler for a site (just because there are panel's entities), and the site can be accessible via http in subfolder.
-- SH