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
Search for mod_env, also if mod_version not installed, installed it.
This should solve the 500 error.
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 CustomizeSearch for mod_env, also if mod_version not installed, installed it.
This should solve the 500 error.
Comments
Post a Comment