Install Magento 2 via Composer on Apache server

Published on 23 Jun 2016 , edited on 22 Mar 2019

– Install SSH, GIT, NodeJS, Composer and Grunt on server
– SSH to directory
composer create-project –repository-url= magento/project-community-edition
– Set rights

- Run install command

That's about it. Now we have Magento 2.0.7 installed via Composer

But I wanted to go up to 2.1rc3 for various reasons. To do this edit composer.json and find this part:

And change it into this:

Then run composer update via SSH to apply the new versions. It's necessary to change the composer version as well to avoid open_basedir errors on the admin page.


Short notes and snippets as reminders for myself and my work.

All categories

All tags

All posts