- Plesk for Linux
Composer returns the following error:
Note: the "dumpautoload" parameter in the command below can be another.
# composer dumpautoload
PHP Fatal error: Uncaught PharException: phar "/usr/lib/plesk-9.0/composer.phar" has a broken signature in /usr/lib/plesk-9.0/composer.phar:23
#0 /usr/lib/plesk-9.0/composer.phar(23): Phar::mapPhar('composer.phar')
thrown in /usr/lib/plesk-9.0/composer.phar on line 23
The corrupted or modified
Reinstall the composer as follows:
Connect to the server via SSH.
Change the working directory to the required:
# cd /usr/lib/plesk-9.0/
Go to the composer official website:
Execute commands, mentioned in the "Command-line installation" article section: