2

Installed lamp on centos 7. Moved files to /var/www/html/

When I chmod 655 magento directory I can see apache welcome screen, but when i try IP_addr/index.php gives:

"You don't have permission to access /index.php on this server."

When I chmod 755 magento directory I can see only 500 error.

When I follow magento permision setting I can see only 500 error.

1 Answer 1

1

Try to make the Magento file system owner, owner of the install dir - chown -R : .

4
  • Isn't file system owner also automaticaly owner of install dir, or have i mixed it up? I created user called magento as owner of /var/www/html Dec 13, 2018 at 15:19
  • Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
    – kolek
    Dec 13, 2018 at 15:21
  • I followed those instructioins. But perhaps I am confused whot is magento file system owner, since i am new to this. Is it root or the one I asigned to apache dir with chown. Dec 13, 2018 at 15:27
  • Basically you need to create new user and add it to the web server role then execute EVERY magento related command with that user
    – kolek
    Dec 13, 2018 at 15:39

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.