Plesk Onyx for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk Onyx for Linux
Question
How to install PHP dependencies using Composer in Plesk Onyx?
Answer
- Login to Plesk
- Go to Domains > example.com > Applications and click Scan:
Plesk will identify each composer.json located within
httpdocs
folder of the current domain as a separate application. - To install PHP dependencies, click on each application where there is
composer.json
file - Click Install Dependencies:
Comments
3 comments
Hello,
I need to install a library in PHP Composer, how could I do it?
Thanks,
Enrique
Hello Enrique, this article exactly instructs how to install PHP libraries using composer please follow steps described here.
Hello,
What if I need to re-scan?
I've added another composer.json after the first scan, now how can I ask Plesk to scan again?
Thank you.
Please sign in to leave a comment.