My client wants to upgrade all his websites script from PHP 5.6 to PHP 8 and mysql 5.7.42 to mariadb 10.5. We want to upgrade one by one website. Now the problem is we can choose different PHP version for each domain and subdomain but for the database we don't have such choices. So, we will have to upgrade mysql 5.7.42 to mariadb 10.5 all at once server wide and so it will affect all websites of my clients on the server. So my question is, what problem we will face if we upgrade mysql 5.7.42 to mariadb 10.5 with PHP 5.6. Will it be compatible? We are using mysql_* functions, so will it work with that? as its not possible for me to update all the websites script together for mysqli_* or pdo changes.
I upgraded one website script to PHP 8 and deployed on development environment on server to test by creating a subdomain, set its PHP version to PHP 8 but server team is saying that we will have to upgrade database too, so I am completely stuck here, please help..