Level 6
file permission issue. make sure the file is not lock under sudo.
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am using Laravel 5.2 and I am attempting to deploy app on a live server. I copied the git repo to the new location and ran composer self-update and received the following error:
[Composer\Downloader\FilesystemException]
Filesystem exception:
Composer update failed: the "/usr/local/bin/composer.phar" file could not be written
How can I update composer?
Please or to participate in this conversation.