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 http://s3-eu-west-1.amazonaws.com/tideways/packages debian main' > /etc/apt/sources.list.d/tideways.list wget -qO - https://s3-eu-west-1.amazonaws.com/tideways/packages/EEB5E8F4.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.
Upgrading Debian/Ubuntu packages
To upgrade the Profiler on a Debian/Ubuntu installation you can issue the following commands:
sudo apt-get update sudo apt-get install tideways-php tideways-daemon