The Blog

PLESK 17 running none OS PHP with Composer. Posted on

Run the following command to check all available versions of PHP:

# plesk bin php_handler --list

Then, choose the binary (including path) from the column php-cli , for example:

php-cli:
/opt/plesk/php/7.1/bin/php

Note: Use the full path to launch binary in the command-line interface.

Here is simple example oh how to install symfony4 using composer:

/opt/plesk/php/7.1/bin/php /usr/local/bin/composer.phar create-project symfony/skeleton my_project

This entry was posted in Uncategorized. Bookmark the permalink.

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *



CAPTCHA
Change the CAPTCHA codeSpeak the CAPTCHA code