PHPackages                             florianmoser/plesk-deployer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. florianmoser/plesk-deployer

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

florianmoser/plesk-deployer
===========================

Deployer common recipe fixes to deploy on shared hostings using Plesk

v6.2.1(3y ago)183.0k2MITPHP

Since Jun 29Pushed 3y ago2 watchersCompare

[ Source](https://github.com/FlorianMoser/plesk-deployer)[ Packagist](https://packagist.org/packages/florianmoser/plesk-deployer)[ RSS](/packages/florianmoser-plesk-deployer/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

plesk-deployer
==============

[](#plesk-deployer)

Automatic deployment to a shared hosting can be a real pain, sometimes even impossible. This Deployer recipe overwrites some of the common [Deployer](https://deployer.org/) tasks to allow deployment to Plesk chroot environments.

Deployment to shared hosting provided by [Metanet](https://www.metanet.ch/) has been successfully tested with these fixes. But they *may* also work on other providers who meet the requirements (see below).

I have also included a description of common problems with chroot environments below, which may help apply similar fixes to other deployment tools (Ansible, Capistrano, etc.).

Who needs this
--------------

[](#who-needs-this)

PHP developers who would like to deploy their applications to a chroot hosting environment using Deployer.

Requirements
------------

[](#requirements)

Your hosting should provide the following tools:

- SSH access
- Git
- PHP CLI
- Option to set the path to the web root
- Composer (optionally, if you need to install dependencies)

Installation
------------

[](#installation)

Use Composer:

```
$ composer require florianmoser/plesk-deployer

```

Applying the fixes
------------------

[](#applying-the-fixes)

To apply the fixes, simply load the chroot\_fixes.php file **after** the common Deployer recipe in your deploy.php file:

```
