Shopware Silver & extension partner
Certified Advanced Developers & solution architects
200+ E-commerce Rrojects
50+ Professional developers
Before installation, make sure that your system meets the system requirements for Shopware 6.
In this article you will find instructions that illustrate what you need to keep in mind prior to installing Shopware 6, and also guidance through the installation process. Before installing Shopware, you need to pay attention to some requirements which need to be met. You can commonly run Shopware on a self-hosted server, but for optimal performance, it is recommended to installHtaccess settings
The htaccess file is a configuration file on your web server. Among other things, it specifies which users have access to shared files and folders. With an htaccess file, you have the option to allow access to your store only for selected users. During the installation, you must not apply htaccess protection. The following example can be taken into consideration. Note that a .htaccess protection may result in the administrator not being able to open it. A short-term solution is not to authenticate requests to the “api” URL in .htaccess:AuthType Basic AuthName "Please login." AuthUserFile /path/to/.htpasswd
Require expr %{THE_REQUEST} =~ m#.*?\s+\/api.*?# Require valid-userRouting configurations
Additionally, it is recommended that you adjust the routing settings of your web server if necessary. A relevant example based on Apache is presented below.Remember to replace _SHOPWARE_DIR and _HOST_NAME_ with your settings. You will also notice that the root directory of the document points to the / public directory in the Shopware 6 installation directory. This is necessary because the front end and the administrator interface are behind, so it is not necessary to refer to the public directory in the browser URL, to increase the frontend or the administrator interface.System requirements
Before installation, make sure that your system meets the system requirements for Shopware 6. • Emi Operating System – Shopware generally supports most Unix-based operating systems. From personal experience, we recommend installing Shopware 6 on Linux (e.g. Ubuntu). • PHP – Version 7.4.3 or higher, limit_memorie 512M or higher, max_execution_time 30 seconds or more. • SQL – Versions 8.0.20 and 8.0.21 of MySQL 5.7.21 or higher MySQL are not compatible due to technical issues with these versions or MariaDB – higher versions MariaDB 10.3.29, 10.4.19 and 10.5.10 are not compatible due to technical issues with these versions. • Apache 2.4 or higher with active mod-rewrite.Download Shopware
Once you have verified that the system requirements for Shopware 6 are met and your web server routing settings are configured correctly, you can download the Shopware 6 installer and unzip it to the desired directory on your system. Also make sure unpacked files and directories have written permission.Installer execution
Please make sure that the system requirements for Shopware 6 are met and that your web server’s routing settings are configured correctly. You can then continue to download the Shopware 6 installer. All you have to do is get it to the desired directory on your system. Make sure decomposed files and directories have typing access. To run the installer, simply visit your store’s URL where you will be greeted by the Shopware 6 installer, which will guide you through the installation step by step. Under certain circumstances, it may be necessary for some hosters to write /index.php after the URL. Here you can change the installer language. The language can also be changed at any time using the state shortcuts in the lower right corner of the screen. By clicking Next, you can continue the installation.Check system requirements
In the second installation step, the system requirements are verified to see if they are fulfilled. Arrow request list buttons, folded from Menu, of which requests are not met or which settings can be optimized.In the next step, you can read the license with which Shopware is licensed. To proceed with the installer, you must accept the license terms.Database configuration
Once the Shopware license is accepted, the credentials are entered to access the Shopware database. You can either create an empty database for pre-installation or the installer can create one for you. To create a new database, you need to check the New Database box and enter a name for the database. If one or more databases already exist, they will be listed in the Database Name field after the username and password have been entered. Select the database that is intended for the Shopware. Please note that existing databases must be empty to import the required tables for Shopware. If you display advanced settings, you can also specify the database port and (optionally) an outlet. If you want to know more about e-commerce development platforms or apps, read our blog posts for Shopify and Shopware. Our dedicated outsourcing team can be your collaborator in ecommerce.