Installation of Prestashop
In Prestashop it is very easy to install. Once all the files are on your Web server, you should be able to start configuring your shop is not less than 5 minutes in most cases: the installation process is very simple, because the installation program takes care of everything for you. Less experienced users might take 10-20 minutes to complete the process.
Before you begin, make sure that all your requirements are available: the hosting service provider’s server space, domain name, FTP client, text editor. Be sure to follow the “what you need to get started” instructions on the first page:
This small part is for the installation of PHP / MySQL on those who are already familiar with the Web server Web applications. If you feel uncomfortable with their lack of detail, you will find a detailed description in the following sections.
- Prestashop downloaded file and unzip it into your computer.
- Prestashop database created on the server.
- Using an FTP client, compress all the files uploaded to the Web server from the solution, in the desired position:
- If you want to be integrated into the PrestaShop root directory of your domain (for example http://myownshop.com/), upload all files to the root directory of your Web server.
- If you want to have PrestaShop has its own subdirectory (such as http://mywebsite.com/shop/ or http://shop.mywebsite.com/) on your website, create a directory on your server shop / child domain and upload all the files to the directory.
- Open the location of the file in the browser; you should be redirected to / install / folder.
- Use your MySQL access code from the on-screen instructions to install the program.
- Once installed, remove / install / folder and / Management / rename folders into unique things you (for example, / 4dm1n /) – If the Prestashop if not already done automatically.
- Check all normal:
- Visit your site
- Connected to the back-office (renamed manage folders), use the access password you set during installation.
You are done! Start adding products, changing the theme, download the module …
Download and unzip the file PrestaShop
You can download the latest version of PrestaShop in http://www.prestashop.com/en/download.
You have only one choice: The latest stable version, ready for all sites.
Click the “Download Now” button, and archived on your computer (such as a desktop). You should get a file named “prestashop_1.5.4.zip” (or equivalent, depending on the version).
Using ZIP tool to extract the contents of a file to a known location (such as on the desktop again) your hard disk. Do not upload the Zip file directly to your server.
Upload the Prestashop
You should now be at your disposal hosting space (if not, please read the “you need to start” the second chapter of this guide), as well as your hard drive and uncompressed PrestaShop archive folder.
This step allows you to upload your hosting space PrestaShop files. This is known as using “FTP client”, which read, “What do you need to get started” chapter, you should have installed the tool to connect your computer to your server is complete. We will use the free FileZilla (http://filezilla-project.org/).
Using an FTP client to connect to the host space by using the connection details supplied by your web host (if not, please contact your host). Once connected, it’s time to PrestaShop transfer files from your computer to your server.
FileZilla (or any other FTP client), browse local folders until you find the one PrestaShop file contains. Remains open to the left of the “Local Site” section.
In the “Remote Site” section (right), navigate to your desired Prestashop is publicly available (domain, sub-folders, sub-domains … root) position. This can change a lot, not only depends on your host and your needs:
- Your host:
- Some hosts may need to be placed in a specific folder in the file, such as / htdocs, and / is public_html, / pages, / WWW, / yourdomainname.com like.
- Other host FTP server will direct you to log into the right uploads.
- Do you need:
- If you want your shop is your domain name (ie http://www.myprestashop.com) master, upload space (this may depend on the host) root folder upload Prestashop.
- If you want your shop in your domain subfolder (http://www.mywebsite.com/shop), you must first create the through FileZilla folder (right-click and select “Create Directory”), then the Prestashop folder Upload.
- If you want your shop in your domain subdomain (http://shop.mywebsite.com), you must first create the subdomain. It depends on your host: You may be able to do this simply add a new folder with your FTP client, or you may need to create by your subdomain hosting management panel. First read the supporting documentation for your host. Once created, browse to the subdomain folder, and upload the Prestashop there.
On the left side of FileZilla, you should now have a local file from ZIP archive you reserved PrestaShop files, and to the right of the target location. If you have not done it before, uploading is simple: Choose from a local folder, all files and folders (using Ctrl-A), or drag and drop them onto the remote folder, or choose right click and choose “Upload” in the context menu.
Upload may take several minutes, Prestashop use of the more than 7500 files, almost 1000 folder. After a child, all of Prestashop files and folders should be online. Big!
Create your shop database
Before you can actually install the Prestashop, you need to make sure your MySQL server database are prepared Prestashop data. If not, you must create one.
Create a database you can use any database management tools. We will use the free phpMyAdmin tool
(http://www.phpmyadmin.net/), which should be pre-installed on most web hosting.
Using your account credentials to connect to your host offers phpMyAdmin. It should be through a standard URL with your domain host or domain name to access it.
In the left column, you can see the currently available on your MySQL database server. Some should be left alone, because they either by the host or phpMyAdmin: phpMyAdmin in, MySQL and INFORMATION_SCHEMA, performance_schema like. Read the documentation of your host know if one of them can be used as a default database.
Create a new database Either way, you can in the “Database” tab will be named using the “Create New Database” form the center. Simply enter a unique name, and then click “Create.” The name of the database will be added to the list on the left. Now, you can use it to store data PrestaShop.
Start automatic installation
Now it all came together: Installation of Prestashop.
Installation process is very simple, because it is installed automatically streamlining of PrestaShop. You should be able to browse it in a handful of minutes. Please read each page, so as not to miss any information.
To launch the installer, simply navigate to the PrestaShop location on the Web server: The script will automatically detect yet installed Prestashop, and will automatically take you to the installation program.
You can also just type / address of the installation folder: http: // Prestashop / your server / folder of the installation.
From there, you just need to read and click.
There are six steps. At the top of the page, the installation assistant to you, you are in the process in which visualization: gray face into a smiling face after the completion of each step.
Step 1: Welcome page
This is first introduced into the quick installation process. You can choose where the installation program will display its prompts.
You can also get a link to the documentation site (http://doc.prestashop.com/), as well as support PrestaShop phone number. You can go http://support.prestashop.com/en/~~V learn about our support services.
Select the language you want to install the program, then click the “Next” button. This will also be the default language of your Prestashop installation – but other languages will be available for you to enable.
Step 2: The Prestashop license
This second page is a simple request: The Prestashop is free, to a certain distribution contracts. All you need if you do not agree with the terms of the license can not use this software, this step requires you to explicitly recognize them.
Reading Prestashop license:
- Open Software License 3.0 Prestashop itself, you can also read http://www.opensource.org/licenses/OSL-3.0.
- Academic Freedom License 3.0 modules and themes, you can also read http://opensource.org/licenses/AFL-3.0.
You must agree to the license in order to install the Prestashop.
To go to the next step, you must select the “I agree to the above terms and conditions” check box, and then click “Next.” If you do not explicitly agree to the license, you can not install the Prestashop: “Next” button, not even click.
Steps 3 and 4: system compatibility and system configuration
The third page all server parameters on your host quick check. In most, you will not see it, because if there is no error is found, you will go directly to the fourth page, “System Configuration.” If so, you can go to be selected by clicking the left sidebar “System Compatibility” link to see the third page.
If that occurs when the server checks the third step problem, Setup will display the “System Compatibility” page, where you can see all the check failed.
Check this page, everything is OK with your server configuration: PHP settings, file and folder permissions for third-party tools.
If any errors occur, the installer will stop you here, so you see that some of the technical details need to improve, whether it is to change or update the PHP configuration file permissions.
Changing PHP configuration based on a case-by-case based on your level of access to your server, it can only be described only in sufficient detail to update file permissions more easily explained. Permissions are granted access to specific users or groups of users of a file system that controls their ability to view or change the files and folders in a way. Setup needs to make some changes, you upload the file, if the file system is not allowed by the appropriate authority, these changes, the installer can not complete its process.
Therefore, if the installation program displays the number of files or folders do not have the appropriate permissions, you must manually change the cartridge. This will require you to access the files on the server Web, therefore, use your FTP client (eg FileZilla) or command line.
Login using your FTP client server account, navigate to the Prestashop folder marked as found by the installer need permission to change the folder.
Since the FileZilla (and most FTP client), you do not have to use any Unix command. Most FTP client so that it can easily and graphically change permissions: Once you find that you need to change this file or folder, right-click, the pop-up menu, select “file permissions ….” It will open a small window.
Depending on your server configuration (you do not always have on hand), you need to check the “read” and “execute” box column, at least in the “owner” and “group” line “Write” column. Some hosts may require you to have the public “Write” check box is selected, but be careful: it is rarely anyone on your server can edit the contents of your PrestaShop installation is a good thing.
Some of the folders may need to change the permissions on all files and subfolders of. In this case, check the “recursion into subdirectories” box.
While changing your FTP client permissions, you should regularly check your compatibility check done right change by rerunning Setup: Click Setup “Refresh these settings” button, as often as necessary.
Once all indicators are green, you can click “Next.” If you can not make them all green, at least to ensure that the installation program will display “your configuration is valid, click Next to continue!” Message at the top of the page.
This page contains a form, so you can tell where the PrestaShop database server, and a database, it should use, and some other details. All of this information should be provided by your web host for you.
Fill in all fields with your web host to provide database connection information:
- Database server address. Hostname of your MySQL server. It can connect to your domain name (eg http://sql.mydomainname.com), connect to your virtual host (ie http://mysql2.alwaysdata.com), or simply an IP address (such as 22.214.171.124 ).
- Database name. PrestaShop name you want to store their data in the database. This is not an existing database on your MySQL server, or you use (or any other SQL tool) phpMyAdmin created this guide “to create a database for your shop” section.
- Database login. You have access to your MySQL database user name.
- Database password. MySQL user password.
- Database engine. The database engine is the core of the database server. InnoDB is the default, you should use it, but the more technical among you may want to choose another engine. Typically, there is no need to change the default settings.
- Table prefix. Prefix for your database tables. “PS_” is the default, leading to its name, such as “ps_cart” or “ps_wishlist,” the PrestaShop SQL table; but if you need more than one instance on the same database installation Prestashop, you must use a different prefix for each mounting. However, we recommend that you create a database for each installation of PrestaShop, if your web host allows it. Even better: the installation of PrestaShop make one, and enabled MultiStore feature to PrestaShop many shops from the same back-end management.
- Delete the existing table. It is only in the “development model” is available. When reinstalling the Prestashop, you can choose to delete the existing PrestaShop database tables in order to start a clean slate.
Click “Now test your database connection!” Button in order to check that you are not using the correct server information.
Click “Next” to continue. in order to start on a clean slate.
Click the “Test your database connection now!” Button in order to check that you did use the correct server information.
Click “Next” to continue.
Step 5: Shop configuration
Here, you can start customizing your shop: give it a name and logo, indicating its main activities, and indicate the owner of the personal information (in most countries legally binding) …
Concerning the logo, you should note that it will appear:
- On all of the pages of your store (depending on your theme).
- In your back-office.
- In all of the e-mails sent to your customers.
- In all of your contractual documents (bills, return authorizations, etc.).
Therefore, do not keep the default PrestaShop logo, for obvious reasons.
Click “Next”, and the installer will start filling the database with tables and data, and updating the configuration files. This might take a few minutes in a slow server.
Setup performs the following actions:
- Create settings.inc.php file and fill it with your settings.
- Create a database table.
- Create a default store its default language.
- Populate the database tables.
- Store configuration information.
- Install the default module.
- Install demo data (product, category, user, CMS page, etc.).
- Installed themes.
Once completed, your shop is installed and ready to configure!
Complete the installation
As you read on the last page of the installation process, there are a couple of final action to implement in order to make the installation.
An easy way to improve the safety of the installation is to remove some of the important files and folders. This is done using an FTP client, on the server directly.
To delete items:
- “Install” folder (necessary).
- In the “Documents” folder (optional).
- In “README.md” file (optional).
Click to administrative region “Manage Your Store” button to be taken.
Write down the new name for your “admin” folder, because from now on, you can use this address to access your administration page.
Finally, to close all potentially malicious door, use your FTP client and upgrade if you need it hosts file and folder permissions to 664 or 666. If it turns out low to prevent access to the work of some of the modules, you should set the permissions back to 755.
Congratulations! The installation is complete.
For the “admin” folder to log in to Prestashop back, and began to fill by going to your newly renamed your catalog of products, increase operators and transport costs, increase manufacturers and suppliers, change the subject, the general configuration many settings to suit your tastes and needs. See the user guide for more information on chapter “and PrestaShop1.5 first step”: