Using Joomla 3.9.8
I recently migrated from localhost (PHP 7.1.9) to a live server (PHP 7.2)
On localhost my site was installed at localhost/mysote. On my live server it's installed at dev.example.com/mysite
When I view my site on the live server I see the following notice;
Error We have detected that your server is using PHP 5.6.37 which is obsolete and no longer receives official security updates by its developers. The Joomla! Project recommends upgrading your site to PHP 7.1 or later which will receive security updates at least until 2019-12-01. Please ask your host to make PHP 7.1 or a later version the default version for your site. If your host is already PHP 7.1 ready please enable PHP 7.1 on your site's root and 'administrator' directories – typically you can do this yourself through a tool in your hosting control panel, but it's best to ask your host if you are unsure.
Does the fact that the site is installed on a subdomain make any difference?
I have a site installed at example.com and it's working fine, no PHP errors.
I had a look at the .htaccess on the subdomain and there's no mention of a PHP version, so it's not set manually.