JFa
By:
JFa

Installing prestashop in my droplet with ubuntu

October 17, 2014 2.4k views

Hi everyone,
I was following this guide:

http://blobmarket.com/blog/en/install-prestashop-1-6-on-a-digital-ocean-vps.html#.U-q8xa6QL

But actually i got cut to the half of the guide... Looks like the server its down.. So I'm thinking i miss some steps... Actually I prepared the domain to point to a specific folder and then i got to start the installation of the prestasho but i'm gettin stucked with some errors that look like permissions missins:

Recursive write permissions on files and folders:
~/config/
~/cache/
~/log/
~/img/
~/mails/
~/modules/
~/themes/default/lang/
~/themes/default/cache/
~/translations/
~/upload/
~/download/
~/sitemap.xml

PHP parameters:
Mcrypt extension is not enabled

Thats all, any help are welcome :D

1 Answer

Run the following command to grant Apache write permissions to the files and folders:

cd /var/www/mydomain
sudo chown -R www-data:www-data config/ cache/ log/ img/ mails/ modules/ themes/default/lang/ themes/default/cache/ translations/ upload/ download/ sitemap.xml

Mcrypt extension is not enabled

Install mcrypt and restart Apache: sudo apt-get install php5-mcrypt && sudo service apache2 restart

Have another answer? Share your knowledge.