Skip to main content

Error 500 - Internal Server Error After up gradation of PHP Version Magento2

My website started showing Error 500 when upgraded to Php7.4. I checked Logged file and it was showing

public_html/.htaccess: Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration

Note: Errors can be seen from cPanel -> Errors

Solution:

1. go to WHM -> EasyApache 4 -> Click on Customize
Search for mod_env, also if mod_version not installed, installed it.

This should solve the 500 error.

Comments

Popular posts from this blog

After upgrading magento having error message This site key is not enabled for the invisible captcha

Go to https://www.google.com/recaptcha/admin/create And provide your domain in Domains and Submit. Copy SITE KEY AND SITE SECRET KEY and paste it in Store --> Settings --> Configuration --> Security --> Google reCaptcha Make sure you have selected " reCaptcha type" type to invisible reCaptcha type v2 You may need to clear the cache.