You are here:

How to fix the errors when installing Magento 2?

When installing Magento 2, you may sometimes meet some errors and troubleshooting so in this post, we will reveal several errors which may appear and show you the way to fix them in order to help you get through with the Magento 2 installation.

  1. The always_populate_raw_post_data error
    This is one of the most popular errors happening when installing Magento 2 caused by a misconfiguration in your php.ini file. The error is displayed as following in step 1 Readiness Check:
    The way to fix:

    • Go to your root folder to find the PHP folder
    • Locate the ini, open it and find always_populate_raw_post_data
    • Remove the semi colon or comment before the line of code and change On or 1 to -1.
  2. PHP EXTENSION CHECK: php_intl.dll PHP missing extension error

    The error will be displayed like this:
    The way to fix:

    • Locate your file ini, you need to search for php_intl.dll and remove the semi colon or comment.
  3. Routing problem: redirect loop error

    This error is caused by browser do not support cookies on top level domains like the localhost. It looks like this:
    The way to fix: 

    • Open the database and select table core_config_data
    • Find web/secure/base_url and web/secure/base_url and then change the values from http://localhost/*foldername*/ to http://*foldername*/;
    • Clear your cache
    • Again access the same folder

Above are the basic errors which you may meet when installing Magento 2. If you get any other one, let us know by sending an email.

Thanks for reading!

Related articles



MageHit - No1 Magento Development Company

Back to Top