run composer with magento and plesk

Yarpii

🖤 Founder
Dec 6, 2019
104
1
18
Bitz
💎2,452.25
PHP 7.3
Bash:
/opt/plesk/php/7.3/bin/php /usr/lib/plesk-9.0/composer.phar
PHP 7.4
Bash:
/opt/plesk/php/7.4/bin/php /usr/lib/plesk-9.0/composer.phar
Example how to use:
Bash:
/opt/plesk/php/7.4/bin/php /usr/lib/plesk-9.0/composer.phar create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /httpdocs