Report this

What is the reason for this report?

LAMP/Ubuntu. Problem : PrestaShop installation needs to write critical files in the folder var/cache. review the permissions

Posted on March 13, 2019

Hello,

Droplet with LAMP ubuntu.

I get problem with prestashop installation :

“PrestaShop installation needs to write critical files in the folder var/cache. Please review the permissions on your server.”

I checked to chmod 777 my var/cache folders but dosnt work.

Can you help me plz, i dont understand why presta cant write in this folder.

Thank you

Best regard,



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

please confirm you changed the permissions of your var folder within the website’s directory? It’s a common misunderstanding and you might’ve changed the permissions of the server’s /var/ folder.

One more thing, I would recommend changing the permissions recursively of the var/cache folder.

Solution:

sudo cd /var/www/prestashop sudo chown -R www-data * sudo chgrp -R www-data *

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.