I have just installed magento 2.2.4 on my cPanel and I got internal server error 500. I tried to rename .htaccess file but then it opens with no css and its admin gives 404 error. My cPanel uses PHP 7.1 and mysql 5.6

  • Error 500 means that you are getting a fatal error. Did you check your apache logs? The error should be there. Nov 10 '18 at 15:55
  • I have a cpanel based VPS hosting with ssh access. Can you please tell me how to check apache logs? Nov 11 '18 at 5:39
  • Try logging into your SSH and typing cd /var/log/apache2 The error log should be there. It is usually named error.log, but can be named differently, depending on your virtual host configuration. Nov 11 '18 at 8:45

Please try the solution given in this install Apache module

I too faced the same problem , but I was able to fix it by installing the required Apache module


This php version problem. please use 7.0.2 version

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.