Before installing Shopware 6, you should take a quick look at the requirements to check if your local environment is capable of running it.
You can use these commands for checking your actual environment:
php -v: Show CLI PHP version
php -m: Show CLI PHP modules
php -i | grep memory_limit: Show your actual CLI PHP memory limit
composer -v: Show your actual composer version
node -v: Show you actual Node version
npm -v: Show you actual NPM version
To get more information about your server PHP setup, you can create a
phpinfo.php file with this content:
<?php phpinfo(); ?>
When you now open your Browser and go to the
phpinfo.php page then you can see all information about
your actual PHP setup. Check if they also matches with the requirements.
Although Shopware 6 support most UNIX like environments, we recommend using Ubuntu 18.04 LTS or macOS Mojave 10.14 to get the best experience.
max_execution_time30 seconds minimum
Adminer (https://www.adminer.org/) is our recommended database administration tool since it has better support for binary data types.
If you are working on Linux there is a curated docker setup, that takes care of setting up the environment for you.
In this case you need: