Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save standa/9601951 to your computer and use it in GitHub Desktop.
Save standa/9601951 to your computer and use it in GitHub Desktop.

How to successfully install vendors of Symfony2 on Dreamhost Shared

Sometimes, simply running php composer install or php composer update will throw an error at building bootstrap.php time. To resolve this issue, proceed like this:

First, run:

php composer update --no-scripts

This will install all the vendors without launching any script that could create errors Then simply do:

php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php

This will build the bootstrap file needed for Symfony2 to run properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment