Want to have an Online Store but don't know where to start?
Click here and start selling online!

Symfony2 installation tip

March 11, 2012 | In: framework, install, installation, setup, symfon2, symfony

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


1 Response to Symfony2 installation tip

Avatar

Doctrine2 installation tip | FROST

March 12th, 2012 at 11:17 pm

[...] my previous post, i wrote about the Symfony2 installation tip, since Symfony uses Doctrine, so we need to install it as [...]

Comment Form