Hello, have you managed to switch the version?
Sometimes, when multiple PHP versions are installed on the server, you need to explicitly specify which version the site should use.
If the server is running Linux with Apache, you need to locate the site's configuration file, usually found at:
/etc/apache2/sites-available/yourfile.conf
Inside the file, you can configure the PHP version using FilesMatch, for example:
<FilesMatch ".php$">
SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
</FilesMatch>
In this case, the site would be using PHP 8.2 via PHP-FPM. If you need to use a different version, you must change the corresponding socket—for example, php8.1-fpm.sock or php8.3-fpm.sock—depending on the version installed and configured on the server.