Cant access setup(or any files) of magento2 in browser
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.
magento2 error permissions
add a comment |
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.
magento2 error permissions
add a comment |
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.
magento2 error permissions
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.
magento2 error permissions
magento2 error permissions
edited 59 mins ago
Shoaib Munir
1,081521
1,081521
asked Dec 13 '18 at 14:58
Mr. KovalskiMr. Kovalski
111
111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try to make the Magento file system owner, owner of the install dir - chown -R : .
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253559%2fcant-access-setupor-any-files-of-magento2-in-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try to make the Magento file system owner, owner of the install dir - chown -R : .
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
add a comment |
Try to make the Magento file system owner, owner of the install dir - chown -R : .
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
add a comment |
Try to make the Magento file system owner, owner of the install dir - chown -R : .
Try to make the Magento file system owner, owner of the install dir - chown -R : .
answered Dec 13 '18 at 15:10
kolekkolek
161
161
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
add a comment |
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
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
– Mr. Kovalski
Dec 13 '18 at 15:19
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
– Mr. Kovalski
Dec 13 '18 at 15:19
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 at 15:21
Follow the instructions on this page devdocs.magento.com/guides/v2.0/install-gde/prereq/…
– kolek
Dec 13 '18 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.
– Mr. Kovalski
Dec 13 '18 at 15:27
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.
– Mr. Kovalski
Dec 13 '18 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 '18 at 15:39
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 '18 at 15:39
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253559%2fcant-access-setupor-any-files-of-magento2-in-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown