Question

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

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,

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Solution:

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

solution chmod 777 -R /opt/lampp

from venezuela

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.