Report this

What is the reason for this report?

Autoload error Magento 2.1.5 on Ubuntu 14.04.5

Posted on March 5, 2017

Following this https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-magento-on-ubuntu-14-04

At step 4 I’m getting error:

Autoload error

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



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!

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.

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=https://repo.magento.com/ magento/project-community-edition magento

This will require authentication with a Magento account .

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.