AnsweredAssumed Answered

SugarCRM xhprof with Tideways

Question asked by Victoria Askham on Dec 12, 2017
Latest reply on Nov 6, 2018 by Enrico Simonetti

Hi,

 

We have updated to PHP 7.1 as part of our upgrade to sugar 7.9, and we are trying to use the SugarCRM XHProf interface with the Tidesways Profiler Extension instead of the XHProfs as this is no longer supported. However I am unable to get the viewer to load any profiling, wondered how this should be configured and if I am missing something.

 

I have installed the Tideways profiler extention. From https://tideways.io/profiler/downloads

 

I have configured the /etc/php/7.1/mods-available/tideways.ini file with;

 

extension=/usr/lib/php/20160303/tideways.so

tideways.sample_rate=25

tideways.auto_prepend_library=0

 

Our config file looks like:

 

'xhprof_config' => [

'enable' => true,

'manager' => 'SugarXHprof',

'log_to' => '/tmp/profile_files',

'sample_rate' => '1',

'ignored_functions' => [],

'flags' => 0,

]

 

Please could you advise.

 

Thanks

Outcomes