0

I got this error when trying to deploy my site on server:

Internal Server Error : The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.15 (CentOS) Server at 196.203.63.32 Port 80 I am working with magento 2.2.6. Thanks in advance.

  • have you tried enabling the error reporting, deploying static contents and updating permissions? – Kumar A. Dec 27 '18 at 11:15
1

There might many reasons a few of which may be

  1. Inappropriate file permission- To apply right permission use

php bin/magento setup:upgrade

  1. There may be some errors which can be tracked if you enable error reporting by renaming local.xml.sample to local.xml inside pub/errors folder (obviously in developer mode)

  2. static contents not deployed. Use

php bin/magento setup:static-content:deploy

  • but checked the permissions and upgrade and deploy static nothing special – Developper Magento Dec 27 '18 at 12:46
  • but where to find this local.xml.sample – Developper Magento Dec 27 '18 at 12:47
  • I already have mentioned it in my answer, its inside pub/errors folder. Thanks – Kumar A. Dec 27 '18 at 12:50
  • Please accept this as answer if it helped you. Thanks – Kumar A. Dec 27 '18 at 13:11

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.