Well then, time to start debugging. Try things like put an echo immediately followed by an exit at the top of the index.php. If that still gives the error, then it’s a server configuration (nginx or permissions, for example). If that works, then gradually move it lower and lower until you isolate the line that fails.
requirements.php is a bunch of simple checks for you to make sure your env has all neccessary modules, while you say its 7.2 note that you can have different versions for cli and fpm
if you are 100% sure your env has all it needs you can even delete everything from requirements.php as stated in comment there
it still should give you error anyway when you run it through ssh, its possible you have error display disabled in php.ini you can try adding on top of index.php these lines just to be sure
But now we have a problem. We can’t access anything. No css, no javascript, no other pages are available (error 404)
Even reading the documentation we can’t solve the problem. The server is Nginx. I’ll send more tomorrow,
But the Urls are good.I get the one I want when I click the link, the page just doesn’t appear. Only a 404 error.
And Yes I had debug activated to check on some errors
Now I will tell How To fix 500 internal server error?
Step 1 check .htaccess
Most of the case invalid htacess code . some case after install wordpress plugin .htaccess become corrupted .
So what need to do . step 1 you need to take backup your current .htaccess file . Login to your cPanel and click on file manager then find public_html folder , click on folder and find .htaccess file and rename this file as like you need . example .htaccess_backup.