Autoload error Magento 2.1.5 on Ubuntu 14.04.5

Following this

At step 4 I’m getting error:

Autoload error

Vendor autoload is not found. Please run ‘composer install’ under application root directory.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The linked tutorial shows how to install Magento 1.9.x, but there have been a number of changes since the release of the 2.x series. One of those changes was to use Composer, a tool for handling dependencies for PHP projects, to install a number of PHP packages that are required for Magento.

After installing Composer, move to the root directory of your Magento installation and run:

  1. composer install

This will download and install a number of packages to complete your installation.

You can also use Composer to completely install Magento, without the need to download the archive file manually:

composer create-project --repository-url= magento/project-community-edition magento

This will require authentication with a Magento account .