What you need before installing Shopware
Shopware 6 runs on a standard LAMP/LEMP stack, but the specific version requirements are strict. Installing with the wrong PHP version or an unsupported MySQL release will fail silently or produce cryptic errors. Check these requirements before you start.
| Component | Minimum | Recommended |
|---|---|---|
| PHP | 8.2 | 8.3 (8.4 supported from Shopware 6.7) |
| MySQL | 8.0 (avoid 8.0.20 and 8.0.21) | 8.0.28+ |
| MariaDB | 10.11 (LTS) | 10.11+ |
| Composer | 2.2 | Latest stable |
| Node.js | 20 (LTS) | 20 LTS |
| RAM | 4 GB | 8 GB+ (especially with Docker or Elasticsearch) |
| Storage | SSD required | NVMe SSD |
| CPU | 2 cores | 4+ cores (faster indexing) |
| Redis | 7.0 | 7.0+ |
Required PHP extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcre, pdo, pdo_mysql, phar, simplexml, xml, zip, zlib. Set `memory_limit` to at least 512M in your php.ini. For theme compilation and indexing, 1024M is safer.
Your hosting environment matters as much as the software stack. For a detailed breakdown of hosting options and their trade-offs, see our Shopware Hosting Guide.
Choosing your installation method
There is no single best way to install Shopware. Each method serves a different use case, and picking the wrong one creates unnecessary friction. The following comparison helps you decide before you commit.
| Method | Best for | Technical skill | Production-ready | Update path |
|---|---|---|---|---|
| Composer | Production servers, agencies, CI/CD pipelines | High | Yes | Clean, version-controlled |
| Docker | Local development, testing, staging | Medium-High | Possible, not typical | Container rebuild |
| Manual installer | Shared hosting, quick demos | Low | Limited | Manual, error-prone |
| [Shopware Cloud](/en/blog/shopware-cloud) | Non-technical merchants, fast start | None | Managed | Automatic |

Installation via Composer (recommended)
Composer is the recommended installation method for production environments. It gives you full control over dependency versions, integrates with CI/CD pipelines, and makes updates predictable. Every serious Shopware deployment uses Composer.
Step-by-step Composer installation
- Verify your PHP version and extensions: `php -v` and `php -m`
- Create the project: `composer create-project shopware/production your-shop-name`
- Navigate to the project directory: `cd your-shop-name`
- Copy and configure environment variables: `cp .env.example .env` and edit the database credentials
- Run the installer script: `./bin/console system:install --create-database --basic-setup`
- Set up the web server (Apache or Nginx) to point to the `/public` directory
- Access the admin panel at `https://your-domain.com/admin` with the default credentials
[code block - coming soon]Installation via Docker
Docker is the fastest way to get a working Shopware environment on your local machine. No need to install PHP, MySQL, or Node.js locally. Everything runs inside containers. For a deep dive into Docker-specific configuration, see our Shopware Docker setup guide.
- Install Docker Desktop (macOS/Windows) or Docker Engine (Linux)
- Run the setup command to create a new project with all dependencies included
- Wait for the containers to build and start (first run takes 2-5 minutes)
- Access the storefront at `http://localhost:8000` and admin at `http://localhost:8000/admin`
[code block - coming soon]The official Docker dev image from Shopware Docker Hub includes PHP, Composer, Node.js, and Caddy as web server. It creates a complete project with `compose.yaml` and a Makefile, so you can manage the environment with `make` commands.
Installation via manual installer
The manual installer is the simplest method, designed for shared hosting or users without command-line access. Download the installer from the Shopware download page, upload it to your server, and follow the web-based setup wizard.
- Download `shopware-installer.phar.php` from shopware.com/download
- Upload the file to your web server root directory via FTP or file manager
- Open `https://your-domain.com/shopware-installer.phar.php` in your browser
- Follow the wizard: select language, accept license, enter database credentials
- Wait for the installation to complete (5-15 minutes depending on server speed)
- Delete the installer file after successful installation for security
Post-installation steps
Installation is only the first half. A freshly installed Shopware instance needs configuration before it is ready for production traffic. These steps apply regardless of which installation method you used.
- Configure your sales channel: Set up your storefront domain, languages, currencies, and payment/shipping methods in the admin panel
- Install and activate a theme: The default theme works, but most shops need a custom or third-party theme
- Set up SSL: Configure HTTPS and force SSL redirects. Update `APP_URL` in `.env` to use `https://`
- Configure caching: Enable HTTP cache and configure Redis for session and cache storage for better performance optimization
- Set up scheduled tasks: Configure a cron job for `bin/console scheduled-task:run` and `bin/console messenger:consume` to process background jobs
- Update to the latest patch version: Run `composer update` to ensure you have the latest security patches. See our Shopware update guide for details
Troubleshooting common installation errors
Most installation failures come down to four causes: wrong PHP version, insufficient memory, file permission issues, or database connection problems. Here is how to diagnose and fix each one.
| Error | Cause | Solution |
|---|---|---|
| Allowed memory size exhausted | PHP memory_limit too low | Set `memory_limit = 512M` in php.ini (1024M for theme compilation) |
| Class not found or extension missing | Required PHP extension not installed | Run `php -m` to check. Install missing extensions via `apt install php8.3-[ext]` |
| SQLSTATE connection refused | Database not running or wrong credentials | Verify `DATABASE_URL` in `.env`. Test connection with `mysql -u user -p` |
| Permission denied on var/cache | Web server cannot write to cache directory | Run `chmod -R 775 var/cache var/log` and ensure correct ownership |
| Node.js version mismatch | Wrong Node.js version installed | Install Node.js 20 LTS via nvm: `nvm install 20 && nvm use 20` |
| Composer out of date | Composer version below 2.2 | Run `composer self-update` to get the latest version |
When to hire a developer
A standard Shopware installation is straightforward. But once you need custom plugins, complex ERP integrations, multi-channel setups, or a headless Shopware architecture with Shopware Frontends and the Shopware API, the complexity jumps significantly. At that point, working with an experienced Shopware developer or Shopware programmer saves time and prevents costly mistakes.
If you are planning a migration from another platform, the installation is just one piece of a larger Shopware relaunch project that includes data migration, URL redirects, and SEO preservation.
Once your shop is running, an AI employee can use your product data to advise customers in real time, increase cart values by up to 35%, and handle support around the clock.
Book a free demoFAQ
Shopware offers a free Community Edition that you can install and use without license costs. The commercial editions (Rise, Evolve, Beyond) require a subscription but include additional features like advanced search, CMS capabilities, and the AI Copilot.
Shopware 6.6 requires PHP 8.2 or 8.3. Shopware 6.7 (released May 2025) adds support for PHP 8.4. Always check the official Shopware documentation for the latest requirements before installing.
Yes, using the manual web installer. However, shared hosting often has lower memory limits and restricted PHP configurations. For production shops with real traffic, a VPS or dedicated server with at least 4 GB RAM is recommended.
The installation itself takes 5 to 15 minutes depending on your method and server speed. Composer and Docker setups are faster because they automate dependency resolution. The manual installer adds time for file upload. Post-installation configuration (sales channels, themes, caching) adds another 30 to 60 minutes.
Composer is the standard for production deployments. It integrates with version control (Git), supports reproducible builds, and makes updates predictable. Docker is excellent for development and staging environments but requires additional configuration for production use.
An AI employee connects to your product catalog and advises customers 24/7. No coding required, integrates via the Shopware API.
Try it free
