I have a magento 1.9 website that I took a backup of the database and all files and uploaded them to a new server. However now when I go to the website it gives me a 500 error.

I reset all the file/folder permissions and also the directory ownership is the same as it is on the origional production website Var/Log is writing no log files. So where else can I look to find the error?

  • Where would I find the apache server logs I looked in /var/log/apache2 and that directory is empty ?
    – Jayreis
    Sep 1, 2017 at 13:59
  • Apache error log path is may be different by server provider, So you can check with server support for that. Sep 1, 2017 at 14:18
  • have you checked if you have any file under var/report?
    – sissy
    Sep 1, 2017 at 15:54

2 Answers 2


500 server error only you can see inside your server's Apache or Nginx error log not from the magento var/log.


This can be caused by the permissions setting on the index.php file. The restore sets it to 666 and Cpanel considers that a security risk. Change the setting to 644.

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.