Installing Tideways

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

Tideways monitors the PHP applications and helps to optimize them. Given the specificities of our infrastructure, their installation script cannot be used on our servers, so here are the steps to follow.

In our example, we use the SSH access and consider the following information:

  • Account name: foo
  • Tideways directory: $HOME/tideways/

[foo], [version] and [php_version] must be replaced by accurate informations.

Step 1: Download the agent and the daemon

foo@ssh:~/tideways$ wget -O- https://s3-eu-west-1.amazonaws.com/tideways/extension/[version]/tideways-php-[version]-x86_64.tar.gz | tar -xz --strip-components=1
foo@ssh:~/tideways$ wget -O- https://s3-eu-west-1.amazonaws.com/tideways/daemon/[version]/tideways-daemon_linux_amd64-[version].tar.gz | tar -xz --strip-components=0

Download page

Step 2: Modify php.ini

Add to php.ini (Environment > PHP or Web > Sites > Edit the [site] - ⚙️ > Configuration):

extension = /home/[foo]/tideways/tideways-[version]/tideways-php-[php-version].so

Setup documentation

Step 3: Start the daemon

foo@ssh:~/tideways$ chmod +x tideways-daemon_[version]/tideways-daemon

Create a service with the following details:

  • Command: /home/[foo]/tideways/tideways-daemon_[version]/tideways-daemon -address /home/[foo]/tideways/tidewaysd.sock
  • Working directory: /home/[foo]/tideways/tideways-daemon_[version]/