OK, so you need to check your server error logs just after running that, to see what the underlying error is.
When you run that, you need to run it on the PHP version you are running the site on. The reason for this, is that it checks there are components enabled on the PHP version that are required for the software. So if you check it prior to changing the PHP version, its essentially not a check.