Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

installation of magento 2.1.1 fails

  1. #1
    New member
    Join Date
    Sep 2016
    Thanked 0 Times in 0 Posts

    Exclamation installation of magento 2.1.1 fails

    I'm trying to install magento 2.1.1 on unix server but when it does system check I keep on getting following error message and application will not install.

    Your PHP Version is 5.6.22, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0. This will stop the installer from running. Please open your php.ini file and set always_populate_raw_post_data to -1. If you need more help please call your hosting provider.

    After using:


    I get:

    Configuration File (php.ini) Path /opt/alt/php56/etc

    Loaded Configuration File /home/some9753/public_html/php.ini

    Scan this dir for additional .ini files /opt/alt/php56/link/conf

    Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini

    I don't have access to the directories /opt/alt/php56/etc, apart from that in the php info file always_populate_raw_post_data is set to -1 for Local Value as well as Master Value.

    The Loaded Configuration File php.ini was created by myself and and placed in public_html folder. It contains:

    always_populate_raw_post_data = -1;

    But it is not solving problem. I don't know how the installer is coming up with always_populate_raw_post_data = 0 when it is not set to that value anywhere. Any suggestion as to what I should do to solve problem? All help will be greatly appreciated.

    View more threads in the same category:

  2. #2
    New member
    Join Date
    Dec 2016
    Thanked 0 Times in 0 Posts

    Default Upgrade to PHP7

    You should upgrade to php7 with the help of following steps:

    sudo apt-add-repository ppa: ondrej/php
    sudo apt-get update
    sudo apt-get install php7.0

    sudo a2dismod php5
    sudo a2enmod php7.0
    sudo service apache2 restart


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts