Solution to Magento Always Populate Data Error, php.ini file not working?Cannot correct php.ini error in Magento 2.0.2Problem upgrading Magento from 2.0.2 to 2.0.5Magento 2: System upgrade fails Readiness Check (always_populate_raw_post_data = 0)installation of magento 2.1.1 failswhat is the purpose of php.ini file in magento directory?catalog_category_view.xml - Layout file not workingMagento 2 : knockout data-bind:click not workingFile download not workingdata-validate not working in magento 2Magento 2: Data faker solution

Active low-pass filters --- good to what frequencies?

How does the Around command at zero work?

Someone whose aspirations exceed abilities or means

A map of non-pathological topology?

Why we don’t make use of the t-distribution for constructing a confidence interval for a proportion?

Finding value of expression with roots of a given polynomial.

Warning about needing "authorization" when booking ticket

Is it a bad idea to to run 24 tap and shock lands in standard

Why was this person allowed to become Grand Maester?

How to handle (one's own) self-harm scars (on the arm), in a work environment?

How to safely destroy (a large quantity of) valid checks?

Teaching a class likely meant to inflate the GPA of student athletes

How did old MS-DOS games utilize various graphic cards?

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

Second (easy access) account in case my bank screws up

How to ensure color fidelity of the same file on two computers?

What to do when surprise and a high initiative roll conflict with the narrative?

What ways have you found to get edits from non-LaTeX users?

Does the Long March-11 increase its thrust after clearing the launch tower?

Extreme flexible working hours: how to get to know people and activities?

Has there been a multiethnic Star Trek character?

Is it legal for a bar bouncer to confiscate a fake ID

A word that means "blending into a community too much"



Solution to Magento Always Populate Data Error, php.ini file not working?


Cannot correct php.ini error in Magento 2.0.2Problem upgrading Magento from 2.0.2 to 2.0.5Magento 2: System upgrade fails Readiness Check (always_populate_raw_post_data = 0)installation of magento 2.1.1 failswhat is the purpose of php.ini file in magento directory?catalog_category_view.xml - Layout file not workingMagento 2 : knockout data-bind:click not workingFile download not workingdata-validate not working in magento 2Magento 2: Data faker solution






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to install Magento 2.1.5 and I'm currently stuck on the readiness check. It is currently giving this error




PHP Settings Check * Need Help? PHP Documentation Your PHP Version is
5.6.30, 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.




I have renamed the php.ini file and have included the stipulated line and still have no luck. My ini file is as follows:



; Copyright © 2013-2017 Magento, Inc. All rights reserved.
; See COPYING.txt for license details.
; This file is for CGI/FastCGI installations.
; Try copying it to php5.ini, if it doesn't work

memory_limit = 1024M
max_execution_time = 18000

; disable automatic session start
; before autoload was initialized

flag session.auto_start = off
always_populate_raw_post_data = -1
; enable resulting html compression

zlib.output_compression = on

; disable user agent verification to not break multiple image upload

suhosin.session.cryptua = off

; PHP for some reason ignores this setting in system php.ini
; and disables mcrypt if this line is missing in local php.ini

extension=mcrypt.so

; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.

display_errors = Off









share|improve this question






























    0















    I am trying to install Magento 2.1.5 and I'm currently stuck on the readiness check. It is currently giving this error




    PHP Settings Check * Need Help? PHP Documentation Your PHP Version is
    5.6.30, 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.




    I have renamed the php.ini file and have included the stipulated line and still have no luck. My ini file is as follows:



    ; Copyright © 2013-2017 Magento, Inc. All rights reserved.
    ; See COPYING.txt for license details.
    ; This file is for CGI/FastCGI installations.
    ; Try copying it to php5.ini, if it doesn't work

    memory_limit = 1024M
    max_execution_time = 18000

    ; disable automatic session start
    ; before autoload was initialized

    flag session.auto_start = off
    always_populate_raw_post_data = -1
    ; enable resulting html compression

    zlib.output_compression = on

    ; disable user agent verification to not break multiple image upload

    suhosin.session.cryptua = off

    ; PHP for some reason ignores this setting in system php.ini
    ; and disables mcrypt if this line is missing in local php.ini

    extension=mcrypt.so

    ; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.

    display_errors = Off









    share|improve this question


























      0












      0








      0








      I am trying to install Magento 2.1.5 and I'm currently stuck on the readiness check. It is currently giving this error




      PHP Settings Check * Need Help? PHP Documentation Your PHP Version is
      5.6.30, 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.




      I have renamed the php.ini file and have included the stipulated line and still have no luck. My ini file is as follows:



      ; Copyright © 2013-2017 Magento, Inc. All rights reserved.
      ; See COPYING.txt for license details.
      ; This file is for CGI/FastCGI installations.
      ; Try copying it to php5.ini, if it doesn't work

      memory_limit = 1024M
      max_execution_time = 18000

      ; disable automatic session start
      ; before autoload was initialized

      flag session.auto_start = off
      always_populate_raw_post_data = -1
      ; enable resulting html compression

      zlib.output_compression = on

      ; disable user agent verification to not break multiple image upload

      suhosin.session.cryptua = off

      ; PHP for some reason ignores this setting in system php.ini
      ; and disables mcrypt if this line is missing in local php.ini

      extension=mcrypt.so

      ; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.

      display_errors = Off









      share|improve this question
















      I am trying to install Magento 2.1.5 and I'm currently stuck on the readiness check. It is currently giving this error




      PHP Settings Check * Need Help? PHP Documentation Your PHP Version is
      5.6.30, 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.




      I have renamed the php.ini file and have included the stipulated line and still have no luck. My ini file is as follows:



      ; Copyright © 2013-2017 Magento, Inc. All rights reserved.
      ; See COPYING.txt for license details.
      ; This file is for CGI/FastCGI installations.
      ; Try copying it to php5.ini, if it doesn't work

      memory_limit = 1024M
      max_execution_time = 18000

      ; disable automatic session start
      ; before autoload was initialized

      flag session.auto_start = off
      always_populate_raw_post_data = -1
      ; enable resulting html compression

      zlib.output_compression = on

      ; disable user agent verification to not break multiple image upload

      suhosin.session.cryptua = off

      ; PHP for some reason ignores this setting in system php.ini
      ; and disables mcrypt if this line is missing in local php.ini

      extension=mcrypt.so

      ; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.

      display_errors = Off






      magento2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 21 '17 at 11:58









      Manoj Deswal

      4,38491844




      4,38491844










      asked Apr 3 '17 at 21:32









      Tyson AdeyemiTyson Adeyemi

      1




      1




















          3 Answers
          3






          active

          oldest

          votes


















          0














          You need to make sure this line is in your PHP.ini file. Edit your PHP.ini file and add it in:



          always_populate_raw_post_data = -1


          To check it has worked, run PHP on the command line and search for the setting:



          php -i | grep always_populate_raw_post_data


          You should find the setting now appears as -1:



          always_populate_raw_post_data => -1


          You should now be able to get past this error message.



          Good luck.






          share|improve this answer






























            0














            Just seen the necessary line lurking in your .ini file, however it looks like you're missing a semicolon (';') or new line after:



            flag session.auto_start = off 


            In fact the whole block looks wrong! The 'flag' keyword looks out of place.






            share|improve this answer






























              0














              Open your php.ini file and find always_populate_raw_post_data, set it to always_populate_raw_post_data = -1.
              Save php.ini &
              Restart your web server.






              share|improve this answer























                Your Answer








                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "479"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f167464%2fsolution-to-magento-always-populate-data-error-php-ini-file-not-working%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                0














                You need to make sure this line is in your PHP.ini file. Edit your PHP.ini file and add it in:



                always_populate_raw_post_data = -1


                To check it has worked, run PHP on the command line and search for the setting:



                php -i | grep always_populate_raw_post_data


                You should find the setting now appears as -1:



                always_populate_raw_post_data => -1


                You should now be able to get past this error message.



                Good luck.






                share|improve this answer



























                  0














                  You need to make sure this line is in your PHP.ini file. Edit your PHP.ini file and add it in:



                  always_populate_raw_post_data = -1


                  To check it has worked, run PHP on the command line and search for the setting:



                  php -i | grep always_populate_raw_post_data


                  You should find the setting now appears as -1:



                  always_populate_raw_post_data => -1


                  You should now be able to get past this error message.



                  Good luck.






                  share|improve this answer

























                    0












                    0








                    0







                    You need to make sure this line is in your PHP.ini file. Edit your PHP.ini file and add it in:



                    always_populate_raw_post_data = -1


                    To check it has worked, run PHP on the command line and search for the setting:



                    php -i | grep always_populate_raw_post_data


                    You should find the setting now appears as -1:



                    always_populate_raw_post_data => -1


                    You should now be able to get past this error message.



                    Good luck.






                    share|improve this answer













                    You need to make sure this line is in your PHP.ini file. Edit your PHP.ini file and add it in:



                    always_populate_raw_post_data = -1


                    To check it has worked, run PHP on the command line and search for the setting:



                    php -i | grep always_populate_raw_post_data


                    You should find the setting now appears as -1:



                    always_populate_raw_post_data => -1


                    You should now be able to get past this error message.



                    Good luck.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 3 '17 at 22:42









                    Gregory BeltonGregory Belton

                    11




                    11























                        0














                        Just seen the necessary line lurking in your .ini file, however it looks like you're missing a semicolon (';') or new line after:



                        flag session.auto_start = off 


                        In fact the whole block looks wrong! The 'flag' keyword looks out of place.






                        share|improve this answer



























                          0














                          Just seen the necessary line lurking in your .ini file, however it looks like you're missing a semicolon (';') or new line after:



                          flag session.auto_start = off 


                          In fact the whole block looks wrong! The 'flag' keyword looks out of place.






                          share|improve this answer

























                            0












                            0








                            0







                            Just seen the necessary line lurking in your .ini file, however it looks like you're missing a semicolon (';') or new line after:



                            flag session.auto_start = off 


                            In fact the whole block looks wrong! The 'flag' keyword looks out of place.






                            share|improve this answer













                            Just seen the necessary line lurking in your .ini file, however it looks like you're missing a semicolon (';') or new line after:



                            flag session.auto_start = off 


                            In fact the whole block looks wrong! The 'flag' keyword looks out of place.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 3 '17 at 22:48









                            Gregory BeltonGregory Belton

                            11




                            11





















                                0














                                Open your php.ini file and find always_populate_raw_post_data, set it to always_populate_raw_post_data = -1.
                                Save php.ini &
                                Restart your web server.






                                share|improve this answer



























                                  0














                                  Open your php.ini file and find always_populate_raw_post_data, set it to always_populate_raw_post_data = -1.
                                  Save php.ini &
                                  Restart your web server.






                                  share|improve this answer

























                                    0












                                    0








                                    0







                                    Open your php.ini file and find always_populate_raw_post_data, set it to always_populate_raw_post_data = -1.
                                    Save php.ini &
                                    Restart your web server.






                                    share|improve this answer













                                    Open your php.ini file and find always_populate_raw_post_data, set it to always_populate_raw_post_data = -1.
                                    Save php.ini &
                                    Restart your web server.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Mar 18 '18 at 11:08









                                    AnwarAnwar

                                    3910




                                    3910



























                                        draft saved

                                        draft discarded
















































                                        Thanks for contributing an answer to Magento Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid


                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.

                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f167464%2fsolution-to-magento-always-populate-data-error-php-ini-file-not-working%23new-answer', 'question_page');

                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                                        Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                                        Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form