Question

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

Posted March 13, 2019 2.6k views
ApacheUbuntu 16.04

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,

3 comments

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.

×
3 answers

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
chmod 777 -R /opt/lampp

from venezuela

Solution:

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

Submit an Answer