Tideways is a PHP profiling extension (further development of XHProf, working with PHP 7) and provides also on tideways.io a service for analyzing the profiling results.
Currently I don't need the web GUI and want to use for a PHP 7 project a combination Tideways PHP module & XHProf UI.
I installed the module as described in the installation manual:
echo 'deb http://s3-eu-west-1.amazonaws.com/qafoo-profiler/packages debian main' > /etc/apt/sources.list.d/tideways.list
wget -qO - https://s3-eu-west-1.amazonaws.com/qafoo-profiler/packages/EEB5E8F4.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install tideways-php tideways-daemon
moved the automatically created tideways.ini
from /etc/php/7.0/mods-available
to /etc/php/mods-available
, make a symlink to it in the FPM conf.d
folder (ln -s /etc/php/mods-available/tideways.ini /etc/php/7.0/fpm/conf.d/20-tideways.ini
), and configured as follows:
extension=tideways.so
;tideways.api_key=
tideways.sample_rate=25
tideways.framework=zend2
tideways.auto_prepend_library=0
Btw. I'm wondering, that there is no config key for the output target (Like xdebug.profiler_output_dir
for the Xdebug Profiler). Is is a hardcoded value? Where is the output saved?
The extension seems to be installed and ready for using:
How to start using the Tideways PHP Profiler Extension?