Update Magento 2 PHP Settings - two php configuration? find right php.ini Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Request for index.php times out in Magento 1.9.1Configurable Product create/update “No data to save” with too many optionsMagento 2 have Any Port Forwarding restrictionUnable to make Magento2 configuration settings effectivePHP Version Check Error in Magento 2.1.2How does home page routing workUploading php.ini file breaks Magento (front end and back end)Additional options are getting removed from the quote itemLoading Javascript for minicart in Magento 2

Sally's older brother

what is the log of the PDF for a Normal Distribution?

Co-worker has annoying ringtone

Getting out of while loop on console

The test team as an enemy of development? And how can this be avoided?

Can you force honesty by using the Speak with Dead and Zone of Truth spells together?

How does light 'choose' between wave and particle behaviour?

Can two person see the same photon?

Tips to organize LaTeX presentations for a semester

What are the main differences between Stargate SG-1 cuts?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Putting class ranking in CV, but against dept guidelines

Weaponising the Grasp-at-a-Distance spell

How to ask rejected full-time candidates to apply to teach individual courses?

What is the "studentd" process?

Google .dev domain strangely redirects to https

Mounting TV on a weird wall that has some material between the drywall and stud

Would color changing eyes affect vision?

How to change the tick of the color bar legend to black

Differences to CCompactSize and CVarInt

I can't produce songs

Why are vacuum tubes still used in amateur radios?

Positioning dot before text in math mode

How to ternary Plot3D a function



Update Magento 2 PHP Settings - two php configuration? find right php.ini



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Request for index.php times out in Magento 1.9.1Configurable Product create/update “No data to save” with too many optionsMagento 2 have Any Port Forwarding restrictionUnable to make Magento2 configuration settings effectivePHP Version Check Error in Magento 2.1.2How does home page routing workUploading php.ini file breaks Magento (front end and back end)Additional options are getting removed from the quote itemLoading Javascript for minicart in Magento 2



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








0















I would like to update Magento 2 from 2.1.3 to 2.1.4.
While readiness check I get this error and hint:




PHP Settings Check *



Your current PHP memory limit is 256M. Magento 2 requires it to be set
to 756M or more. As a user with root privileges, edit your php.ini
file to increase memory_limit. (The command php --ini tells you where
it is located.) After that, restart your web server and try again.



*In some cases, you might have two PHP configuration files: one for the PHP command line and for the web server. If so, make the change in
both php.ini files. For details, see the php.ini reference.




When I look at the phpinfo info page it’s correct:




memory_limit 768M




with php —ini I get this path’s:



[~/www/magento]# php --ini
Configuration File (php.ini) Path: /opt/alt/php56/etc
Loaded Configuration File: /opt/alt/php56/etc/php-cli.ini
Scan for additional .ini files in: /opt/alt/php56/link/conf
Additional .ini files parsed: /opt/alt/php56/link/conf/alt_php.ini


PHP.ini file for php-cli



[~/www/magento]# php -i |grep php.ini
Configuration File (php.ini) Path => /opt/alt/php56/etc
Additional .ini files parsed => /opt/alt/php56/link/conf/alt_php.ini


in php.info i get this path’s



Configuration File (php.ini) Path /opt/alt/php56/etc
Loaded Configuration File /opt/alt/php56/etc/php.ini
Scan this dir for additional .ini files :/home/xxx/etc/php_settings/conf.d
Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini, /home/xxx/etc/php_settings/conf.d/00-mycyon.ini


It is not my own webserver, so I can only edit this file:



/home/xxx/etc/php_settings/conf.d/00-mycyon.ini


The hosting provider says the 00-mycyon.ini file overwrite the others.



But I get still the same error.



How can I find the right php.ini file which magento use?
Or is it possible to say magento that it take this php.ini file:
/home/xxx/etc/php_settings/conf.d/00-mycyon.ini



Thanks for every hint or idea!










share|improve this question
























  • I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

    – Max
    Feb 16 '17 at 13:57











  • Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

    – Ayline
    Feb 16 '17 at 15:49

















0















I would like to update Magento 2 from 2.1.3 to 2.1.4.
While readiness check I get this error and hint:




PHP Settings Check *



Your current PHP memory limit is 256M. Magento 2 requires it to be set
to 756M or more. As a user with root privileges, edit your php.ini
file to increase memory_limit. (The command php --ini tells you where
it is located.) After that, restart your web server and try again.



*In some cases, you might have two PHP configuration files: one for the PHP command line and for the web server. If so, make the change in
both php.ini files. For details, see the php.ini reference.




When I look at the phpinfo info page it’s correct:




memory_limit 768M




with php —ini I get this path’s:



[~/www/magento]# php --ini
Configuration File (php.ini) Path: /opt/alt/php56/etc
Loaded Configuration File: /opt/alt/php56/etc/php-cli.ini
Scan for additional .ini files in: /opt/alt/php56/link/conf
Additional .ini files parsed: /opt/alt/php56/link/conf/alt_php.ini


PHP.ini file for php-cli



[~/www/magento]# php -i |grep php.ini
Configuration File (php.ini) Path => /opt/alt/php56/etc
Additional .ini files parsed => /opt/alt/php56/link/conf/alt_php.ini


in php.info i get this path’s



Configuration File (php.ini) Path /opt/alt/php56/etc
Loaded Configuration File /opt/alt/php56/etc/php.ini
Scan this dir for additional .ini files :/home/xxx/etc/php_settings/conf.d
Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini, /home/xxx/etc/php_settings/conf.d/00-mycyon.ini


It is not my own webserver, so I can only edit this file:



/home/xxx/etc/php_settings/conf.d/00-mycyon.ini


The hosting provider says the 00-mycyon.ini file overwrite the others.



But I get still the same error.



How can I find the right php.ini file which magento use?
Or is it possible to say magento that it take this php.ini file:
/home/xxx/etc/php_settings/conf.d/00-mycyon.ini



Thanks for every hint or idea!










share|improve this question
























  • I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

    – Max
    Feb 16 '17 at 13:57











  • Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

    – Ayline
    Feb 16 '17 at 15:49













0












0








0








I would like to update Magento 2 from 2.1.3 to 2.1.4.
While readiness check I get this error and hint:




PHP Settings Check *



Your current PHP memory limit is 256M. Magento 2 requires it to be set
to 756M or more. As a user with root privileges, edit your php.ini
file to increase memory_limit. (The command php --ini tells you where
it is located.) After that, restart your web server and try again.



*In some cases, you might have two PHP configuration files: one for the PHP command line and for the web server. If so, make the change in
both php.ini files. For details, see the php.ini reference.




When I look at the phpinfo info page it’s correct:




memory_limit 768M




with php —ini I get this path’s:



[~/www/magento]# php --ini
Configuration File (php.ini) Path: /opt/alt/php56/etc
Loaded Configuration File: /opt/alt/php56/etc/php-cli.ini
Scan for additional .ini files in: /opt/alt/php56/link/conf
Additional .ini files parsed: /opt/alt/php56/link/conf/alt_php.ini


PHP.ini file for php-cli



[~/www/magento]# php -i |grep php.ini
Configuration File (php.ini) Path => /opt/alt/php56/etc
Additional .ini files parsed => /opt/alt/php56/link/conf/alt_php.ini


in php.info i get this path’s



Configuration File (php.ini) Path /opt/alt/php56/etc
Loaded Configuration File /opt/alt/php56/etc/php.ini
Scan this dir for additional .ini files :/home/xxx/etc/php_settings/conf.d
Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini, /home/xxx/etc/php_settings/conf.d/00-mycyon.ini


It is not my own webserver, so I can only edit this file:



/home/xxx/etc/php_settings/conf.d/00-mycyon.ini


The hosting provider says the 00-mycyon.ini file overwrite the others.



But I get still the same error.



How can I find the right php.ini file which magento use?
Or is it possible to say magento that it take this php.ini file:
/home/xxx/etc/php_settings/conf.d/00-mycyon.ini



Thanks for every hint or idea!










share|improve this question
















I would like to update Magento 2 from 2.1.3 to 2.1.4.
While readiness check I get this error and hint:




PHP Settings Check *



Your current PHP memory limit is 256M. Magento 2 requires it to be set
to 756M or more. As a user with root privileges, edit your php.ini
file to increase memory_limit. (The command php --ini tells you where
it is located.) After that, restart your web server and try again.



*In some cases, you might have two PHP configuration files: one for the PHP command line and for the web server. If so, make the change in
both php.ini files. For details, see the php.ini reference.




When I look at the phpinfo info page it’s correct:




memory_limit 768M




with php —ini I get this path’s:



[~/www/magento]# php --ini
Configuration File (php.ini) Path: /opt/alt/php56/etc
Loaded Configuration File: /opt/alt/php56/etc/php-cli.ini
Scan for additional .ini files in: /opt/alt/php56/link/conf
Additional .ini files parsed: /opt/alt/php56/link/conf/alt_php.ini


PHP.ini file for php-cli



[~/www/magento]# php -i |grep php.ini
Configuration File (php.ini) Path => /opt/alt/php56/etc
Additional .ini files parsed => /opt/alt/php56/link/conf/alt_php.ini


in php.info i get this path’s



Configuration File (php.ini) Path /opt/alt/php56/etc
Loaded Configuration File /opt/alt/php56/etc/php.ini
Scan this dir for additional .ini files :/home/xxx/etc/php_settings/conf.d
Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini, /home/xxx/etc/php_settings/conf.d/00-mycyon.ini


It is not my own webserver, so I can only edit this file:



/home/xxx/etc/php_settings/conf.d/00-mycyon.ini


The hosting provider says the 00-mycyon.ini file overwrite the others.



But I get still the same error.



How can I find the right php.ini file which magento use?
Or is it possible to say magento that it take this php.ini file:
/home/xxx/etc/php_settings/conf.d/00-mycyon.ini



Thanks for every hint or idea!







magento-2.1 php-5.4






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Muhammad Anas

7261321




7261321










asked Feb 16 '17 at 13:52









AylineAyline

11




11












  • I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

    – Max
    Feb 16 '17 at 13:57











  • Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

    – Ayline
    Feb 16 '17 at 15:49

















  • I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

    – Max
    Feb 16 '17 at 13:57











  • Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

    – Ayline
    Feb 16 '17 at 15:49
















I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

– Max
Feb 16 '17 at 13:57





I know, thats not the answer, but consider upgrading to PHP7. This MIGHT solve your problem.

– Max
Feb 16 '17 at 13:57













Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

– Ayline
Feb 16 '17 at 15:49





Thanks for you answer. I already tried to update but than i have the same problem. Phpinfo shows php Version 7 but Magento still show Version 5.6. I think the problem is that they use different php.ini files.

– Ayline
Feb 16 '17 at 15:49










1 Answer
1






active

oldest

votes


















0














I found a solution.
Maybe it is also helpful for someone else.



I found this info: http://magento-quickies.alanstorm.com/post/152908661755/your-current-php-memory-limit-is-128m-and-other



The problem is that the Readiness Check is dependent on the Cronjob.



The cronjob was displayed to me as correct, but it pointed to another php version than I thought.



So I changed it from:



/usr/local/bin/php /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>


to



php -c /home/xxx/etc/php_settings/conf.d/00-mycyon.ini /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>





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%2f160311%2fupdate-magento-2-php-settings-two-php-configuration-find-right-php-ini%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I found a solution.
    Maybe it is also helpful for someone else.



    I found this info: http://magento-quickies.alanstorm.com/post/152908661755/your-current-php-memory-limit-is-128m-and-other



    The problem is that the Readiness Check is dependent on the Cronjob.



    The cronjob was displayed to me as correct, but it pointed to another php version than I thought.



    So I changed it from:



    /usr/local/bin/php /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>


    to



    php -c /home/xxx/etc/php_settings/conf.d/00-mycyon.ini /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>





    share|improve this answer



























      0














      I found a solution.
      Maybe it is also helpful for someone else.



      I found this info: http://magento-quickies.alanstorm.com/post/152908661755/your-current-php-memory-limit-is-128m-and-other



      The problem is that the Readiness Check is dependent on the Cronjob.



      The cronjob was displayed to me as correct, but it pointed to another php version than I thought.



      So I changed it from:



      /usr/local/bin/php /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>


      to



      php -c /home/xxx/etc/php_settings/conf.d/00-mycyon.ini /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>





      share|improve this answer

























        0












        0








        0







        I found a solution.
        Maybe it is also helpful for someone else.



        I found this info: http://magento-quickies.alanstorm.com/post/152908661755/your-current-php-memory-limit-is-128m-and-other



        The problem is that the Readiness Check is dependent on the Cronjob.



        The cronjob was displayed to me as correct, but it pointed to another php version than I thought.



        So I changed it from:



        /usr/local/bin/php /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>


        to



        php -c /home/xxx/etc/php_settings/conf.d/00-mycyon.ini /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>





        share|improve this answer













        I found a solution.
        Maybe it is also helpful for someone else.



        I found this info: http://magento-quickies.alanstorm.com/post/152908661755/your-current-php-memory-limit-is-128m-and-other



        The problem is that the Readiness Check is dependent on the Cronjob.



        The cronjob was displayed to me as correct, but it pointed to another php version than I thought.



        So I changed it from:



        /usr/local/bin/php /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>


        to



        php -c /home/xxx/etc/php_settings/conf.d/00-mycyon.ini /home/pitecch/public_html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 16 '17 at 16:02









        AylineAyline

        11




        11



























            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%2f160311%2fupdate-magento-2-php-settings-two-php-configuration-find-right-php-ini%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

            Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

            Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

            Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림