Magento – PHP 7.0.9/NGINX 1.11.3/Magento 2.0 Setup gives blank page

installationmagento2php-7server-setup

This is my first time posting here and I am hoping someone can help me out, I am a little stumped.

We have a Linux CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 installed.

We are trying to install Magento 2.0 but we keep getting a blank page when going to the setup.

We are not seeing an errors in the NGINX on PHP logs and the php info page renders correctly.

Please let me know what other information to provide.

Thank You.

Best Answer

I face the same issue. I have 2 ways to resolve this problem:

  1. Installation via command line. Read more at http://devdocs.magento.com/guides/v2.1/install-gde/install/cli/install-cli-install.html

  2. Change config of PHP-FPM and Nginx.

Here are some possible solutions:

  1. In your php-fpm www.conf set security.limit_extensions to .php or .php5 or whatever suits your environment. For some users, completely removing all values or setting it to FALSE was the only way to get it working.

  2. In your nginx config file set fastcgi_pass to your socket address (e.g. unix:/var/run/php-fpm/php-fpm.sock;) instead of your server address and port.

  3. Check your SCRIPT_FILENAME fastcgi param and set it according to the location of your files.

  4. In your nginx config file include fastcgi_split_path_info ^(.+\.php)(/.+)$; in the location block where all the other fastcgi params are defined.

  5. In your php.ini set cgi.fix_pathinfo to 1

Read more at https://stackoverflow.com/questions/23390531/access-denied-403-for-php-files-with-nginx-php-fpm?answertab=active#tab-top

Related Topic