PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Recommended folder permissions after install

Log in
Replies
8
Voices
6
Views
702
Last activity
Score 1
Ivan Kovač Topic starter Member207 karma37 posts · Joined Dec 2026

755 and 644? Is anything supposed to be writable?

Choose a reaction
Reply

Solution Go to post #3

Folders 755, files 644. Only these need to be writable by the web server: cache/, logs/, media/uploads/ and tmp/. Do not use 777 anywhere. If an upload fails, the folder owner is wrong, not the number. Check that the folders belong to the same user PHP runs as.

8 answers

Score 4
Priya Nair Expert878 karma62 posts · Joined Dec 2026
Solution

Folders 755, files 644. Only these need to be writable by the web server: cache/, logs/, media/uploads/ and tmp/. Do not use 777 anywhere. If an upload fails, the folder owner is wrong, not the number. Check that the folders belong to the same user PHP runs as.

Choose a reaction
Reply
Score 1
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

It was the cache in my case too. Always the cache.

Choose a reaction
Reply
Score 0
Hannah Lindqvist Moderator597 karma46 posts · Joined Dec 2026

Can you post a screenshot of the settings page? Hard to tell otherwise.

Choose a reaction
Reply
Score 0
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Try this first, it is the most common cause:

php -v
php -m | grep -i mysqli
Choose a reaction
Reply
Score 0
Chloé Martin Helper159 karma33 posts · Joined Dec 2026

I had the same problem last month. Checking the file permissions and clearing the cache fixed it for me.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Not sure it applies to your case, but the docs have a short page about this: Getting started.

Choose a reaction
Reply
Score 0
Priya Nair Expert878 karma62 posts · Joined Dec 2026

@demo-chloe ↗:

I had the same problem last month. Checking the file permissions and clearing the cache fixed it for me.

Did you try this on a fresh copy of the site? That would tell you whether it is the content or the setup.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Same issue here on a cheap shared plan. The host had to enable an extension for me.

Choose a reaction
Reply