Table of content
This small section is aimed at those who are already familiar with installing PHP-MySQL web applications on a server. Should you not feel comfortable with their lack of details, you will find detailed instructions in the section following this one.
/install/folder and rename the
/admin/folder to something unique to you (for instance,
You're done! Start adding product, changing theme, downloading modules...
You can download the latest version of PrestaShop at http://www.prestashop.com/en/downloads. This page presents you with an informal form, which helps the PrestaShop team better know its users. Whether you fill the form or not, click the "Download" button to display the download page.
Version 1.5 of PrestaShop is still being finalized is of this writing. You download a preview version at http://www.prestashop.com/en/developers-versions.
You have only one choice: the latest stable version, ready for all websites.
Click on the download button, and save the archive on your computer (such as on the desktop). You should get a file named "prestashop_184.108.40.206.zip" (or an equivalent, depending on the version numbers).
The downloaded file is an archive, meaning one file containing all of PrestaShop's files in compressed form. In order to continue with the process, you must uncompress the archive using a proper. *
If your operating system does not natively support Zip files, you can download and install a dedicated tool, such as:
Using a Zip-tool, extract the content of the archive to a known location on your hard-drive (such as on the desktop again). Do not upload the Zip file to your server.
You should now have a hosting space at your disposal, and a folder on your hard-drive with the uncompressed PrestaShop archive. This step makes you upload the PrestaShop files on your hosting space. This is done using a FTP client, which you should have installed while reading the previous chapter of this guide, "What you need to get started".
Connect to your hosting space using your FTP client, by using the connection details provided by your web host. Once connected, it is time to transfer the PrestaShop files from your computer to your server.
In FileZilla (or any other FTP client), browse your local folders until you find the one that contains the PrestaShop files. Keep it open.
In the "Remote site" section (on the right), browse to the location where you want PrestaShop to be publicly available (root of the domain, sub-folder, sub-domain...). This can change a lot, depending on both your host and your needs:
On FileZilla's left side, you should now have the local folder where you keep the uncompressed the PrestaShop files, and on the right side, the destination location. If you haven't done it yet, uploading is simple: select all files and folders from the local folder (use Ctrl-A), and either drag & drop them to the remote folder, or right-click on the selection and choose "Upload" in the context menu.
After a short while, all of PrestaShop's files and folders should be online. Great!
Before you can actually install PrestaShop, you need to make sure your MySQL server has a database ready for PrestaShop's data, and if not, create one. This can be done using the free phpMyAdmin tool (http://www.phpmyadmin.net/), which should come pre-installed on your web server most of the time (read you host's documentation). Connect to it using your account credentials, which your host provided you with. It should be accessible through a standard URL, tied to your domain name, or that of your host.
In the left column, you can see the current databases. Some of them should be left alone, because they are either used by phpMyAdmin or by the host:
performance_schema and others. Read your host's documentation to know if one of these can be used as a default database.
Either way, you can create a brand new database using the central form named "Create new database". Simply enter a unique name, and click "Create". The name of the database will be added to the list on the left. You can now use it to store PrestaShop's data.
Some hosts prefer to have customers use a graphic control panel, such as cPanel, Plesk or a custom-made one. Make sure you read your host's support documentation about handling MySQL databases, and create a database for your shop by following their specific explanations.
Now comes the part where it all comes together: installing PrestaShop.
The installation process is quite easy, as it is streamlined by PrestaShop's auto-installer. To launch it, simply browse to PrestaShop's location on your hosting: the script will automatically detect that it is not yet installed, and will take you to the auto-installer. From there on, you just have to read and click.
This page is a quick intro into the installation process.
To access the next step, you must check the "I agree to the above terms and conditions" box, then click "Next". If you do not explicitly agree to the license, you cannot install PrestaShop.
The second page makes a quick check of all the server parameters on your host, and if nothing wrong is found, takes you directly to the third step.
This page checks that everything is OK with your server configuration: PHP settings, permissions on files and folders, third-party tools.
If anything goes wrong, the installer stops you here, enabling you to see the few technical details that need fixing, be it changing the PHP configuration or updating the file permissions.
While changing the PHP configuration can only be done on a case-by-case basis depending on your level of access to your server, and therefore cannot be explained here, updating the file permissions is easier to explain. This will require you to access your remote files, and therefore use your FTP client (such as FileZilla).
Log-in to your server account using your FTP client, browse to the PrestaShop folder, and find the folders that are marked by the installer as in need of a permission change.
Changing file/folder permission on a Unix/Linux system is called a "CHMOD", after the command of the same name (see: http://en.wikipedia.org/wiki/Chmod – you can find an explanation of file permissions here: http://www.elated.com/articles/understanding-permissions/).
Some hosts might require you to use CHMOD 777, although it is not recommended for anything more than a one-time need.
In any case, thanks to FileZilla (and most FTP clients), you can change permissions easily and graphically: once you have found a file or folder that needs such a change, right-click on it from your FTP client, and in the context menu choose "File permissions...". It will open a small window.
Depending on your server configuration (which you don't always have a hand at), you'll need to both "Read" and "Execute" columns of boxes checked, and at least the "Owner" and "Group" rows for the "Write" column. Some host might require you to have the public "Write" box checked, but be careful with that: have anyone be able to edit the content of your folder is rarely a good thing.
For folders that the installer is needing a recursive permission change on, you can check the "Recurse in subdirectories" box.
Regularly check that you have made the correct check by relaunching the installer's compatibility checks: click "Refresh these settings" as often as necessary.
Once all indicators are green, you can click "Next". If you cannot have them all green, at least make sure the installer displays "Your configuration is valid, click next to continue!"
This page contains a form that enables you to tell PrestaShop where the database server is, and which database it should use, along with a few other details.
Fill all the fields with the connection information provided by your web-host, along with the name of the database you chose/created for PrestaShop, then click the "Verify now!" button in order to check that everything is fine. If so, the installer will display the following message: "Database is connected".
Choose the prefix for your tables. "ps_" is the default, resulting in the PrestaShop SQL table having names such as "ps_cart" or "ps_wishlist"; but if you need to install more than one instances of PrestaShop on the same database, then you must use a unique prefix for each install.
PrestaShop relies heavily on e-mail for notifications, both for the shop owner and its customers. This form enables you to test whether the current server configuration lets you send e-mail using PHP's
mail() function. If this is not the case, then check the "Configure SMTP manually" box in order to configure your own mail server. Note that this is reserved to advanced users.
Click "Next" to continue.
This is where you can already start customizing your shop: give it a name and a logo, indicate its main activity, and indicate the personal information for the shop owner (which has legal binding in most countries)...
You can choose to install default a bunch of demo products. This is great if you are discovering PrestaShop, as it helps you learn how to use the various features... and can of course serve as a good basis for your own shop, after removing the demo products and categories!
If you know what you are doing and do not need sample products, choose "No".
As for the logo, you should note that it will appear:
It is highly recommended to not keep the default PrestaShop logo, for obvious reasons.
Click "Next", and the installer will start filling the database with tables and data. This might take a few minutes in the slower server.
Once it is done, your shop is online!
As you can read about right on the final page of the installation process, there are a couple of last actions to perform before you can call it a success.
An easy way to improve your installation's security is to delete or rename some key files and folders. This is done using your FTP client, directly on the server.
Items to delete:
Item to rename:
Write down the new name for your admin folder, as you will from now on access your administration pages using this address.
Congratulations! Installation is now complete.
Log in to the PrestaShop back-office and start filling out your products catalog and configuring the many settings to suit your tastes and needs.
Finally, in order to close all potential doors, use your FTP client to update the files and folders permissions to 664, or 666 if your host requires it. If it turns out low access rights prevent some modules to work, you should set permissions back to 755.
Regularly back up your database, ideally on different computers, in case of problems related to hardware or security.