There was a problem loading the comments.

Use Composer on GARMTECH Hosting (Plesk)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Composer is the dependency manager used by many PHP applications (Laravel, Symfony, WordPress plugins/themes, etc.). On GARMTECH hosting you can run Composer in two common ways: via a Plesk tool (if available) or via SSH.

Before you start

  • Make sure you selected the required PHP version for the domain (Plesk → domain → PHP Settings).
  • Composer should be executed in the folder that contains composer.json.

Option A: Run Composer in Plesk (if available)

Some hosting environments show a Composer interface in Plesk. If you see it, this is the easiest method.

  1. Log in to Plesk from My.GARMTECH.
  2. Open your domain.
  3. Look for Composer (or PHP Composer).
  4. Select the project directory (where composer.json is located).
  5. Run Install (for first setup) or Update (to update dependencies).

Option B: Run Composer via SSH

If you do not see a Composer tool, you can run Composer via SSH (if SSH access is enabled on your plan).

  1. Enable SSH access in Plesk (if disabled) and connect as your hosting system user.
  2. Change directory to your project folder, for example:
cd ~/httpdocs
# or: cd ~/httpdocs/your-app

Typical commands:

composer install
composer update

Tips:

  • If you get memory errors, increase memory_limit in Plesk PHP settings (or run Composer with a higher limit if you know what you are doing).
  • Do not upload the vendor folder by FTP if your deployment workflow installs dependencies on the server.
  • After changing dependencies, clear application cache (framework-specific).

Common issues

  • “composer: command not found” — Composer is not available in your shell PATH. Use the Plesk Composer tool (Option A) or install Composer locally and deploy the result.
  • Wrong PHP version — check the project’s required PHP version and select it in Plesk for the domain/subdomain.

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

Tags

© GARMTECH