Moodle 4.4 or later requires at least PHP 8.1.0 (currently using version 5.6.40). Some servers may have multiple PHP versions installed, are you using the correct executable?