Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 linux 新手。我正在尝试将我的作曲家文件更新为php. 我运行以下命令php composer.phar update,它返回我,Could not open file. 我也试过'sudo',但问题还是一样
php
php composer.phar update
Could not open file
我最好的猜测是你要么在错误的目录中(你必须php composer.phar update在同一个目录中运行composer.phar)或者你没有安装作曲家:
composer.phar
curl -s https://getcomposer.org/installer | php