How to Fix Magento Error – Module Not Included in the Server Configuration?

How to Fix Magento Error – Module Not Included in the Server Configuration?

If you are installing Magento on your CPanel server via Softaculous and instantly when the website is accessed “Internal Server Error” message occurs. Then you would need to check the error log and if you are getting an error something like the below, then you can follow the below steps to troubleshoot this error.

[Sat Dec 23 22:28:41.395892 2017] [core:alert] [pid 423060:tid 140020161705728] [client xxx.xxx.xxx.xxx:51271] /home/user/example.com/.htaccess: Invalid command ‘<IfVersion’, perhaps misspelled or defined by a module not included in the server configuration, referer: [URL]http://example.com.com/[/URL]

Steps for checking the error log of your website.

1) Login to your cPanel.

2) Navigate to “Errors” under the ‘Metrics’ section.

Fix the magento error

 

From there you can view all the errors.

 

Steps for Troubleshooting the Error

1) Login to your WHM.

2) Navigate to “EasyApache4” under “Software” section.

Fix the magento error

 

3) Click on “Customize” button in Easyapache4.

Fix the magento error

 

4) Navigate to “Apache Modules” and search for “Mod_version” then select and install that apache module for fix this issue.

Fix the magento error

 

You can also install it from the command line.

1) Login to your server via SSH as a root user.

2) Run the below command to install Mod_vesrion.

#yum install ea-apache24-mod_version

3) You can just restart apache to enable this changes.

# service httpd restart

This will resolve the issue you are facing and after installing that apache module the site will load without any issues.

 

If you need any further assistance please contact our support department.

 

Leave A Comment