title: How to use Tideways on own server?
body: <p>Tideways is a PHP profiling extension (further development of XHProf, working with PHP 7) and provides also on <a href="https://tideways.io" rel="nofollow noreferrer">tideways.io</a> a service for analyzing the profiling results.</p>
  
  <p>Currently I don't need the web GUI and want to use for a PHP 7 project a combination <a href="https://github.com/tideways/php-profiler-extension" rel="nofollow noreferrer">Tideways PHP module</a> &amp; <a href="https://github.com/preinheimer/xhprof" rel="nofollow noreferrer">XHProf UI</a>.</p>
  
  <p>I installed the module as described in the <a href="https://tideways.io/profiler/docs/setup/installation" rel="nofollow noreferrer">installation manual</a>:</p>
  
  <pre><code>echo 'deb http://s3-eu-west-1.amazonaws.com/qafoo-profiler/packages debian main' &gt; /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
  </code></pre>
  
  <p>moved the automatically created <code>tideways.ini</code> from <code>/etc/php/7.0/mods-available</code> to <code>/etc/php/mods-available</code>, make a symlink to it in the FPM <code>conf.d</code> folder (<code>ln -s /etc/php/mods-available/tideways.ini /etc/php/7.0/fpm/conf.d/20-tideways.ini</code>), and configured as follows:</p>
  
  <pre><code>extension=tideways.so
  ;tideways.api_key=
  tideways.sample_rate=25
  tideways.framework=zend2
  tideways.auto_prepend_library=0
  </code></pre>
  
  <p><sup>Btw. I'm wondering, that there is no config key for the output target (Like <code>xdebug.profiler_output_dir</code> for the Xdebug Profiler). Is is a hardcoded value? Where is the output saved?</sup></p>
  
  <p>The extension seems to be installed and ready for using:</p>
  
  <p><img src="https://i.stack.imgur.com/hy0jN.png" alt="enter image description here"></p>
  
  <p><strong>How to start using the Tideways PHP Profiler Extension?</strong></p>