Thread:Project:Support desk/Maintenance scripts not showing correct PHP version

On a wiki I've been working with, http://biosector01.com, I'm trying to update from MediaWiki 1.22 however when I do there are database issues. When I try to run update.php, I get an error saying the PHP version is insufficient, thinking it's PHP 5.2. However, Special:Version, as well as  say it's PHP 5.4 that's running, as well as when I run   it only shows php54 processes. PHP 5.2 isn't running on the server so I can't figure out why update.php won't run because it thinks the PHP version won't work. Any help would be appreciated.