How to install asset in Symfony2 manually?

When I try to install assets using this command:

 assets:install web --symlink

I get this exception:

The symlink() function is not available on your system. You need to install
the assets without the –symlink option.

That is because I’m using windows XP. So I tried to solve this installing Link Shell Extension:

and now the problem is that I do not know which files need to be a symbolic link.

I tried doing the folder “MyBundle/resources/public” a symbolic to the folder “web” of my project, and it does not work.


The windows system does not support symbolic links. It copy / paste files instead. So you can only used this command :

assets:install web 



Leave a Reply

Your email address will not be published. Required fields are marked *