Deployment time HTTP ERROR 500

Deployment time getting HTTP ERROR 500
This is not the first time I am deploying. scriptcase version 9.7.013

Permissions for Folders: 755 and for Files 644 – already given.
it is asking for a first-time password (scriptcase as usual). once the password is passed, this error is coming.

it reaches up to :
https://mydomain/_lib/prod/lib/php/nm_ini_manager2.php?rand=2d39ca4ca2536222

and HTTP ERROR 500

Thanks

OK, get it done for this time.
The production server was PHP v 8.x
Once I downgrade to PHP 7.3, then worked.

What is the max PHP supported by 9.7.013?

Thanks

PHP 7.3. That is the point many users here are anxious for Scriptcase with PHP 8.1.