The store front shows 500 Internal server error after I followed all instructions in the article here to upgrade Magento. On checking the version of Magento with the command bin/magento --version after the upgrade process, I see this old version.

enter image description here

enter image description here

Running git status shows what's seen in the image below.

I'm not sure if Magento upgrade went fine. Could you please help me fix 500 Internal Server error?

  • 1
    You need to enable PHP error log and see real (fatal) error, without this information doesn't make sense to guess about the reason. Jul 16, 2022 at 18:49
  • Hi there , if 500 error comes , please get the preview or response from the network tab in chrome dev tools and post it here , so we can help you out more. Jul 18, 2022 at 5:44

1 Answer 1


To fix 500 errors in Magento 2, there could be multiple reasons:

  • Permission Issue
  • Memory Limitation Issue
  • Version compatibility issue
  • Third-party extension issue
  • htaccess Issue

And more,

First, please enable the PHP error log and also the server log to check what actually the problem is.

you can still figure it out: please check the full documentation: https://www.cloudways.com/blog/magento-500-error/

For the upgrade please pull your code and check the composer json if it's updated with the current latest version so that the composer can upgrade the dependencies.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.