One of the most dreaded errors that come with Magento installation is “500 Internal Server Error”. It is one of the most uninformative error messages you can receive which can mean anything from an improper upload to a bug or error in the script and in most cases, incorrectly set file and directory permissions.
While installing Magento when you have done with uploading your Magento files to your host and about to make the installation you come up with 500 Internal Server Error.
This error is because of the inappropriate file permissions. For this if you are on cPanel hosting, Error Log will really help solving/fixing this error.
Normally changing the file permission on index.php file solved this problem. If you check the error log you will find “/index.php” is writeable by group
So by using CHMOD in Linux, change the file permission on index file from 664 to 644.
Also if magento is installed in a folder e.g. yourdomain.com/magento, in this case you will also change the permission on magento folder to 644. Or using SSH runs the following command
Find. -type d -exec chmod 755 {} ;
Find. -type f -exec chmod 644 {} ;
The other causes of 500 Internal Server Error with magento is to place invalid value for Base URL, Unfortunately, Magento just updates it without any pre-warnings, but change of this specific value can cause Magento to crash. Usually, we get Internal Server Error 500 with each page load. The problem lies in the fact that we can no longer open the Magento administration to correct the error. What needs to be done in such a scenario?
AS a solution for such type of causes is, we need to open MySQL (usually via php MyAdmin) and find core_config_data table. Once there, manually update 2 rows and give correct base URL and Internal Server error will be solved out.
1. Config_id:3 web/unsecure/base_url => http://www.mydomain.com/2. Config_id:4 web/secure/base_url => https://www.mydomain.com/
| Our Magento Services | ||
| Magento Development | Magento Custom Development | Magento Module Development |
| Magento SEO Development | Magento Template Designing | Magento theme Integration |
To get free consultation and project proposal regarding any Magento Development requirements, contact us at sales@ymagestore.com










Press Releases
Latest Magento News
Follow us on Twitter
Be a fan on Facebook