Close [x]

Installation overview

Edit this page on GitHub

Updated: 11 May 2016 (PDT)

Magento software installation

Hi, we’re glad you’re among the 240,000 merchants worldwide who put their trust in our eCommerce software. We’ve gathered some information to help you get started with Magento and with your Magento installation.

We have some resources here to help get you started using the eCommerce platform of the future—Magento 2.

It’s what we do.

Step 1: Find the installation that's right for you

Choose how to install the Magento software.

Step 2: Verify your prerequisites

Use the following table to verify you have the correct prerequisites to install the Magento software. If you used a shared hosting provider, you can skip this step.

Prerequisite How to check For more information

Apache 2.2 or 2.4

Ubuntu: apache2 -v

CentOS: httpd -v

Apache

(Don't forget to enable rewrites and .htaccess!)

PHP 7.0.2, 5.6.x or 5.5.x (PHP 5.4 is not supported)

See Known issue with certain PHP versions

php -v

PHP Ubuntu
PHP CentOS

MySQL 5.6.x

mysql -u <root user name> -p

MySQL

Step 3: Install Magento

Post-installation

Useful information

At any time during your installation, take advantage of our installation quick reference (tutorial) or installation roadmap (reference). They’re really easy to use; the tutorial walks you through a sample installation. The roadmap provides links to common tasks throughout the guide.

Use the links on the left side of the page to navigate topics in each part of the installation.

Required server permissions

UNIX systems require root privileges to install and configure software like a web server, PHP, and so on. If you need to install this software, make sure you have root access.

You should not install the Magento software in the web server docroot as the root user because the web server might not be able to interact with those files.

You’ll also need root privileges to create the Magento file system owner and add that owner to the web server’s group. You’ll use the Magento file system owner to run any commands from the command line and to set up the Magento cron job, which schedules tasks for you.