2

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?

1
  • Could describe each steap you've followed to get this error? Commented Aug 29, 2012 at 21:06

2 Answers 2

1

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).

Sign up to request clarification or add additional context in comments.

Comments

0

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/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.