Symfony2 installation tip
After you download Symfony2 distribution here , extract it to your document root.
Once extracted, you will have ‘Symfony’ folder, what you should do next is to install the required ‘vendors’:
$ php bin/vendors install
But before you run that php-cli command above, edit first the file named ‘deps’ and change all instances of ‘http’ into ‘git’ :
[symfony] git=http://github.com/symfony/symfony.git version=v2.0.11
[symfony] git=git://github.com/symfony/symfony.git version=v2.0.11
This will save you from headache of “failed to open stream: No such file or directory” error because the third-party libraries are not properly fetched and installed.Share on Facebook