How to run composer with Plesk PHP?

Created:

2017-03-05 03:28:37 UTC

Modified:

2017-08-08 13:14:01 UTC

2

Was this article helpful?


Have more questions?

Submit a request

How to run composer with Plesk PHP?

Question

How to run or call for a composer with Plesk's precompiled PHP?

Answer

Composer run on base php of the OS. That's why it could lack necessary module, like mcrypt, mbstring.

Plesk has already compiled PHP with all necessary modules. In order to run composer with Plesk's precompiled PHP, use the following command:

/opt/plesk/php/5.6/bin/php /usr/lib64/plesk-9.0/composer.phar --help
Have more questions? Submit a request
Please sign in to leave a comment.