Install on CentOS/Red Hat/Fedora
Tideways can be installed from our YUM repository which provides up to date rpm-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 Yum repository and then install Tideways daemon and PHP extension from it:
echo "[tideways] name = Tideways baseurl = https://packages.tideways.com/yum-packages-main" > /etc/yum.repos.d/tideways.repo rpm --import https://packages.tideways.com/key.gpg yum makecache --disablerepo=* --enablerepo=tideways yum install tideways-php tideways-cli tideways-daemon
The tideways-php package automatically detects all PHP installations based on known conventions:
default PHP installations with configuration files in
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.
Please follow additional installation instructions printed to the screen in case you are not using the default PHP installation of CentOS/Red Hat.
When the tideways-php package cannot automatically detected a PHP
installation further installation is necessary to load the Tideways PHP
extension shared object into PHP via the
extension PHP.ini directive. See
Tideways with a custom PHP installation.
If you have other ways to install PHP for example remirepo, ea-php (through cPanel) or Plesk, then you must symlink the Tideways PHP extension for your version of PHP from /usr/lib/tideways into your PHP’s extension directory and configure the extension in php.ini with:
With CentOS a kernel extension Security-Enhanced Linux(SELinux) is included and enabled per default. It can prevent tideways-daemon access to web-service (http) data. To workaround this, look at SELinux enabled and no data transmitted.