Skip to main content
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Install on Virtual Hosting

in Installation
Authors list
Published: Mar 20, 2017|Last updated: Jul 30, 2019

Requirements Copy link to Requirements to clipboard

You can install Deskpro on many third-party web hosting providers.

Some shared web hosting services have limitations which are incompatible with Deskpro:

  1. You must have access to the CLI version of PHP, not just the CGI/FCGI version. If your webhost hasn’t installed the CLI binary, you will see Deskpro errors saying “This script must only be run from the CLI.” You can confirm what version is running by connecting with SSH and running:

    /usr/bin/php -v

    You should get a result like ‘PHP 7.0.7 (cli)’. If it says ‘php-cgi’, you will need to request access the CLI binary.

  2. PHP 7.0 is required and you need to be able to enable all the PHP modules required by Deskpro. See  Software requirements

Warning

Warning

You cannot use PHP 7.2 with Deskpro, there are certain functions in that release which have been depreciated (disabled) in that version - so can cause functionality problems and errors. PHP version 7.1 is recommended.

  1. You need to be able to specify the path to Deskpro’s web root. Some providers may only allow you to upload files to a specific folder (e.g. called ‘public’). Deskpro requires you to upload the app files and then configure the server to serve files from the www/ directory.

  2. Deskpro has a command-line based installer and many command-line tools. You need to have access to the command-line (e.g. SSH).

  3. Some web hosting providers limit the frequency of scheduled tasks. You should be able to set a cron job or Windows Scheduled Task to run once per minute.

Installation Copy link to Installation to clipboard

The exact steps to install Deskpro will vary by hosting provider.

The general steps are:

  1. Download the most recent version of Download fromhttps://www.deskpro.com/downloads/deskpro.zip.

  2. Create a MySQL ‘deskpro’ user account.

  3. Upload Deskpro to your server and extract.

  4. Configure your server to serve from the Deskpro www/ sub-directory. For example, if you uploaded Deskpro to /home/example/deskpro then you need to configure the web root to be /home/example/deskpro/www

  5. From the command-line, begin the installer: php /home/example/deskpro/bin/install

  6. Once installation is complete, you can log on to Deskpro with the account details you gave during installation. Start by going to the admin interface at /admin/.

After installing Deskpro, we strongly recommend that you set up Elasticsearch in Server > Elasticsearch to enable greatly improved search capabilities for agents and users.

If your hosting provider doesn’t offer Elasticsearch, you can use a hosted service such as Found.

See the article  Using hosted Elasticsearch with Deskpro on our Knowledgebase for details.

HelpfulUnhelpful

1 of 1 people found this page helpful

next pageEmail accounts
previous pageInstalling Elasticsearch on Windows

Please log in or register to submit a comment.