I have a somewhat similar problem.
I updated the php version on my client's website soldata.com to 5.6.34, screenshot attached of phpinfo.php.
I also used a debug plugin, screenshot also attached. It shows php version 5.3.29
Trying to update to WordPress 5.2, but it says that my php version of 5.3 is insufficient.
Thoughts? Thanks for your help!
Thanks for the details and screenshots. The .htaccess file in your site's root directory has the correct "Action" directive to switch to PHP 5.6, but there is also a .htaccess file in the /wordpress/ directory which is still using 5.3 and is taking precedence over the one in the root.
I would suggest leaving the .htaccess in the root as-is, so PHP files there or in other subdirectories without .htaccess files use 5.6. Once /wordpress/.htaccess is updated to use 5.6 as well, Wordpress itself will see the updated version and you should be able to upgrade WordPress to 5.2.