简体   繁体   中英

setting up composer installed in another project folder for a new project folder

I wish to start a new symfony project,I want to use composer for the added advantages, but am having using the installed composer in my new project folder. The composer already installed came with Acquia dev desktop. when I run 'php composer.phar' in my new project folder I get this error "Could not open input file: composer.phar"

Double check where your composer.phar file is located.

If it has been installed into your old project's folder, simply copy it to the new folder.

If it has been installed globally (ie: it is not in your old project's folder), then make sure you are using the right command, you might need to simply do composer install instead of php composer.phar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM