Reputation:
I am trying to download symfony using composer as per the instructions on symfony website.
I keep getting this error:
chdir(): No such file or directory (errno 2)
I have googled and there are no references to this.
Any ideas on how to resolve this?
Upvotes: 2
Views: 1284
Reputation: 11351
I guess this is some kind of composer bug as it seems to be happening to other people. There is a recently open issue in github which you may like to follow.
https://github.com/composer/composer/issues/1041
In the meantime, you may try to download an earlier version of composer.phar and see if it works:
http://getcomposer.org/download/
Upvotes: 0
Reputation: 31919
Are you following these steps:
1/ cd /htdocs
cd into the web directory (the folder where you want to install your symfony project)
2/ curl -s http://getcomposer.org/installer | php
to download composer files.
3/ php composer.phar self-update
to obtain the last version of Composer.
4/ php composer.phar create-project symfony/framework-standard-edition ./Symfony
to install the files in a folder called symfony (You can change the last argument to whatever path you prefer to have the project in).
Upvotes: 1