Install on Debian/Ubuntu
Tideways can be installed from our APT repository which provides up to date deb-Packages for all versions of the tideways-php, tideways-daemon, tideways-cli and tideways-proxy packages. To get started you only need the tideways-php and tideways-daemon packages for now.
Execute the following commands in your shell. They will verify and register our Apt repository and then install Tideways daemon and PHP extension from it:
echo 'deb https://packages.tideways.com/apt-packages debian main' | sudo tee /etc/apt/sources.list.d/tideways.list wget -qO - https://packages.tideways.com/key.gpg | sudo apt-key add - sudo apt-get update sudo apt-get install tideways-php tideways-daemon
Please follow additional installation instructions printed to the screen in case you are not using the default PHP installation of Debian/Ubuntu.
The tideways-php package automatically detects all PHP installations based on known conventions:
Old Debian style PHP where php.ini configurations are defined in /etc/php5 and extensions are in subfolders of /usr/lib/php
Multi PHP version style, including Ondrej’s PPA where each version is configured in a subfolder of /etc/php and extensions are in subfolders of /usr/lib/php
Plesk PHP installations where the extension and configuration directory are in /opt/psa
When a php installation is detected the default ini file is copied to the configuration folder if it is not present and the Tideways extension is symlinked into the extension directory from the Tideways library directory in /usr/lib/tideways.