These are the steps I took:
- Install apache2, mysql, php5 and other requirements: php5-mysql, php5-mcrypt, and php5-gd.
- Create a database called "prestashop" and a database user qith all permissions on it.
- Download the site files at: http://www.prestashop.com/en/download. Mine were "prestashop_1.6.0.9.zip"
- Uncompress it and copy the top directory called "prestashop" to where the web application will be stored. I'll use "/path/to/prestashop" from now on.
- Make sure the permissions in the directory allow the web server user "www-data" to have full access to it. As root run:
chgrp -R www-data /path/to/prestashop
chmod -R g+rwx /path/to/prestashop
- Create a new virtual host with the name "dev.prestashop.local"
- Add the new host name to the hosts file, adding the line "127.0.0.1 dev.prestashop.local"
- Copy the file /etc/apache2/sites-available/000-default.conf to /etc/apache2/sites-available/prestashop.conf
- Modify its content to:
<VirtualHost *:80>
ServerName dev.prestashop.local
DocumentRoot /path/to/prestashop
<Directory /path/to/prestashop >
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
...
</VirtualHost>
- Reload apache, running as root: service apache2 reload
When you browse to dev.prestashop.local you should be able to pass all the compatibility tests: