#!/usr/bin/env php Warning: /var/www/sos_old/vendor/sensio/distribution-bundle/Resources/bin/build_bootstrap.php should be invoked via the CLI version of PHP, not the apache2handler SAPI Looks like you don't have a standard layout.