- Plesk Onyx for Linux
Chrooted SSH user gets an error running the following command in shell:
# curl -sSk https://getcomposer.org/installer | /bin/php5
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The json extension is missing.
Install it or recompile php without --disable-json
Chrooted PHP Composer is not supported by Plesk.
Please vote for this feature on Plesk User Voice portal at the following link: https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/8364126-add-php-composer-to-chrooted