In this article, we will guide you through the necessary steps to install PrestaShop on your web hosting using an FTP client. This method is particularly useful for those who prefer a manual installation or who encounter limitations with the automatic installations provided by some hosts.
Step 1: Preparing the environment
Before you start installing PrestaShop, make sure your hosting environment is ready.
- Check the technical requirements: Make sure your server meets the minimum requirements for PrestaShop, such as PHP8 or higher, MySQL 5.7 or higher, with a MySQL extension enabled.
- Download PrestaShop: Go to the official PrestaShop website and download the latest version of the software. The file obtained will be a compressed file (.zip).
- Extract the file: Once the file is downloaded, extract it on your computer.
Step 2: Transfer files via FTP
Once the files are prepared, you can transfer them to your server via an FTP client.
-
Download and install an FTP client: If you don't already have one, download an FTP client like FileZilla or Cyberduck. Consult our article dedicated to the FTP protocol if needed.
-
Log in to your server: Use the FTP login information provided by your host to connect to your server. You will need the server address, username, and password.
-
Transfer the files: Navigate to the directory where you want to install PrestaShop (often the public_html or www folder). Transfer the three unzipped PrestaShop files to this directory.
Step 3: Database Configuration
PrestaShop requires a database to store the site information.
- Create a database: Access your hosting provider's control panel (cPanel, Plesk, etc.) and create a new MySQL database. Take note of the database name, user and password you create.
- Assign privileges: Make sure the database user has all the necessary privileges (SELECT, INSERT, UPDATE, DELETE, etc.).
Step 4: Installing PrestaShop
With the files in place and the database ready, you can now proceed with the installation of PrestaShop.
- Access your site: Open your web browser and access the URL (domain) where you uploaded the PrestaShop files (for example, http://votresite.com).
- Follow the installation wizard: The PrestaShop installation wizard will launch automatically. Follow the on-screen instructions, enter your database information, and configure your store settings.
1. Choose the language of the installation wizard
2. Accept the terms and conditions
3. Specify the information related to your store
📝 The SSL option allows you to secure web pages. However, it requires the purchase and installation of an SSL certificate, and may pose compatibility issues. |
4. Specify the information related to your administrator account
⚠️ The email and password entered here will allow you to log in to the back office, make sure to save them. |
5. Choose if you want to install the demo products and all or part of the onboard modules
6. Configure access to the previously created database
7. Wait for the assistant to process the installation
8. Finalize the installation
Once the installation is complete, you will need to delete (right click then delete), again in FTP, the /install folder from your server for security reasons.
⚠️ This deletion will rename the "admin" folder, and therefore also the URL of your back office, to include a series of numbers. This prevents anyone from trying to access your back office. |
Step 5: Initial configuration of the store
After installation, you can access the PrestaShop back office to configure your store.
- Logging into the back office: Access the URL http://votresite.com/adminXXX (or click on the link on the installation completion page) and log in with the administrator information you created during installation.
- Basic configuration: Browse the different sections of the back office to configure basic options such as payment methods, delivery methods, and your catalog. Check out the articles in this help center for more information on these steps!
Frequently asked questions
How can I solve the errors when transferring FTP?
If you encounter errors when transferring files via FTP, here are some troubleshooting steps:
- Check file permissions: Make sure that the files on your server have the correct permissions (usually 755 for folders and 644 for files).
- Try the transfer again: If the transfer fails partially, try to retransfer only the missing or corrupted files.
My site is displaying an error after installation, what should I do?
If your site displays an error after installation, check the following:
- .htaccess file: Make sure that the .htaccess file has been correctly transferred and is not corrupted.
- Database configuration: Check that the login information for the database is correct in the file app/config/parameters.php.
This article should help you install PrestaShop via FTP on your hosting. For any additional questions, do not hesitate to consult the other articles of our help center or contact our technical support.
Comments
0 comments
Please sign in to leave a comment.