Install on Linux From Tarball

You can download pre-compiled binary files from our download page. The PHP extensions are pre-compiled for i386 and AMD64 Linux architectures, non-ZTS PHP installations.

Note: The code snippets may contain links to old versions. Make sure to get the latest one from the downloads page. We recommend the APT or YUM repositories for a simpler and more automated installation with an upgrade path through your distributions package manager.

TIDEWAYS_VERSION=5.1.18
wget -Otideways-php.tar.gz "https://s3-eu-west-1.amazonaws.com/tideways/extension/${TIDEWAYS_VERSION}/tideways-php-${TIDEWAYS_VERSION}-x86_64.tar.gz"
tar xzvf tideways-php.tar.gz
cd tideways-php

The archive contains the PHP extension for all currently supported PHP versions. Then use the installer script which automatically detects the active PHP installation from your $PATH.

bash install.sh

If the PHP version cannot be detected, then you can copy the extension yourself:

PHP_VERSION=7.4
cp tideways-php-${PHP_VERSION}.so /usr/lib/php/tideways.so

To install the tideways-daemon download the archive for the Tideways daemon and run the installer:

TIDEWAYS_DAEMON=1.6.12
wget -Otideways-daemon.tar.gz "https://s3-eu-west-1.amazonaws.com/tideways/daemon/${TIDEWAYS_DAEMON}/tideways-daemon_linux_amd64-${TIDEWAYS_DAEMON}.tar.gz"
tar xzvf tideways-daemon.tar.gz
cd tideways-daemon
bash install.sh

The daemon installer copies the "tideways-daemon" binary to /usr/local/bin/tideways-daemon and installs an init script that you can use to start the daemon with "/etc/init.d/tideways-daemon start".

Still need help? Email [email protected]