Magento – Blank page after installation and admin 404

centosmagento2nginxphp-7

I have installed Magento 2 on a CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 using the command line.
After running the installation, when we try to load the home page we get nothing but a blank page.
I do see a 500 error in the browser console, but i cant find anything in the PHP or NGINX logs.
On top of this, when I try to go to the admin, I am getting a 404 error.

Any help would be much appreciated!

Thanks

Best Answer

In your php.ini settings, add/amend the below configuration. That should show you an error that points you in the right direction next time you try to load the page:

error_reporting(E_ALL);
ini_set('display_errors', 'On');