How to solve 500 internal server error in custom module in magento 2Magento: Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance()Magento 2 ADMIN login issue500 Server Error - On checkout page - APCsite - is currently unable to handle this request Http error 500Get an error when deploy magento2Magento 2 : 500 Error internal serverTrying to setup magento2 , missing Extension intl. -XAMPPMagento - Error 500 - Internal Server ErrorHttp 500 error after disabiling Magento 2.2.3 dotmailer module from admin backendPHP Startup: Unable to load dynamic library - The specified module could not be found

Was there a shared-world project before "Thieves World"?

What does it mean to express a gate in Dirac notation?

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

How much cash can I safely carry into the USA and avoid civil forfeiture?

What is the relationship between spectral sequences and obstruction theory?

Noun clause (singular all the time?)

How to creep the reader out with what seems like a normal person?

How to make a pipeline wait for end-of-file or stop after an error?

US visa is under administrative processing, I need the passport back ASAP

To say I met a person for the first time

How to have a sharp product image?

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

How to pronounce 'C++' in Spanish

Is there a way to get a compiler for the original B programming language?

Critique of timeline aesthetic

Why is it that the natural deduction method can't test for invalidity?

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

Error message with tabularx

What is Niska's accent?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

How would one muzzle a full grown polar bear in the 13th century?

Why do Computer Science majors learn Calculus?

Can someone publish a story that happened to you?

Why does academia still use scientific journals and not peer-reviewed government funded alternatives?



How to solve 500 internal server error in custom module in magento 2


Magento: Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance()Magento 2 ADMIN login issue500 Server Error - On checkout page - APCsite - is currently unable to handle this request Http error 500Get an error when deploy magento2Magento 2 : 500 Error internal serverTrying to setup magento2 , missing Extension intl. -XAMPPMagento - Error 500 - Internal Server ErrorHttp 500 error after disabiling Magento 2.2.3 dotmailer module from admin backendPHP Startup: Unable to load dynamic library - The specified module could not be found






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








0















My php version is 5.6




PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_curl.dll' - /usr/lib/php/20131226/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0




After each magento2 command i am getting above warning, and in my custom module i am getting 500 internal server error while connecting to controller. But at other system with php version 7, my module is working fine. Is this error and warning is related to each other? What is the exactly solution of this? Please explain anybody










share|improve this question



















  • 1





    Magento 2 is designed for php 7+, why not update it?

    – Bartosz Kubicki
    Jan 13 '17 at 21:13

















0















My php version is 5.6




PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_curl.dll' - /usr/lib/php/20131226/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0




After each magento2 command i am getting above warning, and in my custom module i am getting 500 internal server error while connecting to controller. But at other system with php version 7, my module is working fine. Is this error and warning is related to each other? What is the exactly solution of this? Please explain anybody










share|improve this question



















  • 1





    Magento 2 is designed for php 7+, why not update it?

    – Bartosz Kubicki
    Jan 13 '17 at 21:13













0












0








0








My php version is 5.6




PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_curl.dll' - /usr/lib/php/20131226/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0




After each magento2 command i am getting above warning, and in my custom module i am getting 500 internal server error while connecting to controller. But at other system with php version 7, my module is working fine. Is this error and warning is related to each other? What is the exactly solution of this? Please explain anybody










share|improve this question
















My php version is 5.6




PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_curl.dll' - /usr/lib/php/20131226/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0




After each magento2 command i am getting above warning, and in my custom module i am getting 500 internal server error while connecting to controller. But at other system with php version 7, my module is working fine. Is this error and warning is related to each other? What is the exactly solution of this? Please explain anybody







magento2 magento-2.1 php magento-2.0.7 http-error-500






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 3 '18 at 13:02









7ochem

5,87493770




5,87493770










asked Jan 13 '17 at 19:25









PinkuPinku

197520




197520







  • 1





    Magento 2 is designed for php 7+, why not update it?

    – Bartosz Kubicki
    Jan 13 '17 at 21:13












  • 1





    Magento 2 is designed for php 7+, why not update it?

    – Bartosz Kubicki
    Jan 13 '17 at 21:13







1




1





Magento 2 is designed for php 7+, why not update it?

– Bartosz Kubicki
Jan 13 '17 at 21:13





Magento 2 is designed for php 7+, why not update it?

– Bartosz Kubicki
Jan 13 '17 at 21:13










2 Answers
2






active

oldest

votes


















0














In your php.ini you need to do the following as you don't have that extension installed. You can also download the extension with most versions of PHP



Find



extension=php_curl.dll


Change to



;extension=php_curl.dll





share|improve this answer
































    -3














    Try these two commands in SSH in your Magento root directory:



    php bin/magento cache:flush
    chmod -R 777 pub var app/etc





    share|improve this answer























    • his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

      – Sergey Korzhov
      Oct 12 '18 at 20:23











    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%2f154705%2fhow-to-solve-500-internal-server-error-in-custom-module-in-magento-2%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In your php.ini you need to do the following as you don't have that extension installed. You can also download the extension with most versions of PHP



    Find



    extension=php_curl.dll


    Change to



    ;extension=php_curl.dll





    share|improve this answer





























      0














      In your php.ini you need to do the following as you don't have that extension installed. You can also download the extension with most versions of PHP



      Find



      extension=php_curl.dll


      Change to



      ;extension=php_curl.dll





      share|improve this answer



























        0












        0








        0







        In your php.ini you need to do the following as you don't have that extension installed. You can also download the extension with most versions of PHP



        Find



        extension=php_curl.dll


        Change to



        ;extension=php_curl.dll





        share|improve this answer















        In your php.ini you need to do the following as you don't have that extension installed. You can also download the extension with most versions of PHP



        Find



        extension=php_curl.dll


        Change to



        ;extension=php_curl.dll






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 13 '17 at 20:39

























        answered Jan 13 '17 at 19:49









        Dava GordonDava Gordon

        680310




        680310























            -3














            Try these two commands in SSH in your Magento root directory:



            php bin/magento cache:flush
            chmod -R 777 pub var app/etc





            share|improve this answer























            • his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

              – Sergey Korzhov
              Oct 12 '18 at 20:23















            -3














            Try these two commands in SSH in your Magento root directory:



            php bin/magento cache:flush
            chmod -R 777 pub var app/etc





            share|improve this answer























            • his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

              – Sergey Korzhov
              Oct 12 '18 at 20:23













            -3












            -3








            -3







            Try these two commands in SSH in your Magento root directory:



            php bin/magento cache:flush
            chmod -R 777 pub var app/etc





            share|improve this answer













            Try these two commands in SSH in your Magento root directory:



            php bin/magento cache:flush
            chmod -R 777 pub var app/etc






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 28 '17 at 3:38









            styzzzstyzzz

            3732519




            3732519












            • his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

              – Sergey Korzhov
              Oct 12 '18 at 20:23

















            • his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

              – Sergey Korzhov
              Oct 12 '18 at 20:23
















            his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

            – Sergey Korzhov
            Oct 12 '18 at 20:23





            his warning clearly states issue is connected to curl lib. it has nothing to do with cache or permissions

            – Sergey Korzhov
            Oct 12 '18 at 20:23

















            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%2f154705%2fhow-to-solve-500-internal-server-error-in-custom-module-in-magento-2%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

            Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

            БиармияSxpst500bh2ntaf! 3h2r