i am trying to install magento 1.9.2 on cpanel (/public_html) but page xyz.com/index.php/install/ is blank.

please let me know what folder and file needs to be changed or anything ?

please advise so i can run installation.

  • problem in permission of folders Commented Jan 30, 2019 at 8:29
  • what should i do now ? i am new in magento. Which file and folder i should need to change the permission and how ?
    – Waqar
    Commented Jan 30, 2019 at 8:33
  • permission set below type using c-panel files: 644, folders: 755, Media & Var: 777 Commented Jan 30, 2019 at 8:35
  • any particular file needs to change the permission ??
    – Waqar
    Commented Jan 30, 2019 at 8:38
  • no root files change permission Commented Jan 30, 2019 at 8:38

2 Answers 2


run the following command

sudo find /var/www/baseMagentoDirectory/ -type d -exec chmod 755 {} \;
sudo find /var/www/baseMagentoDirectory/ -type f -exec chmod 644 {} \;
  1. First you put below code in the top of yours Magento root directory index.php file.


This will display the exact error you have in the browser. Most probably you will get Forbidden Access (Permission issue).

  1. Then connect your cpanel with the SSH access. Steps here

  2. Now all files need to give permission 644 and folders need 755. Steps here

  3. Clear browser caches and reload.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.