New Installation HTTP 500

I have installed invoice plane with PHP 8.1 version it dosent work i tried to downgrade to PHP 7.4 then it gives me an error that composer will not run on PHP 7.4 debug is not showing any error , just the page is HTTP 500 error please guide.

The best thing you can do is read the advice in this thread:
https://community2.invoiceplane.com/t/topic/10011