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


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,


Not yet… will let you know once I have a solution…

Did you find a solution to this? I’m having the same issue.

Hello, I am facing the same issue… Did you fixed this problem ?

Many thanks Emilie

Submit an 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.


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

solution chmod 777 -R /opt/lampp

from venezuela


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.

This comment has been deleted