Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "php-tideways" to apache for PHP profiling #1287

Open
revansx opened this issue Jan 19, 2021 · 2 comments
Open

Add "php-tideways" to apache for PHP profiling #1287

revansx opened this issue Jan 19, 2021 · 2 comments

Comments

@revansx
Copy link
Contributor

revansx commented Jan 19, 2021

MW recommends enabling PHP "profiling" [1] to benchmark, analyze, and diagnose site performance issues. Before profiling can be enabled, the updated XHProf package "php-tideways" [2] must be installed on the system and enabled in apache. Tideways provides a pre-compiled package for Debian users, but not for Centos or RedHat. As a result, it would be nice if MEZA could do this as part of standard deploy. Once included in MEZA, MEZA server admins could enable profiling to assist SMW developers in performance tuning by inspecting a list of page load method execution times.

[1] https://www.mediawiki.org/wiki/Manual:Profiling
[2] https://github.com/tideways/php-xhprof-extension

@revansx
Copy link
Contributor Author

revansx commented Jan 19, 2021

It would seem this was added a long time ago but has been disabled for some time.

Ref: https://github.com/enterprisemediawiki/meza/blob/master/src/roles/apache-php/tasks/main.yml#L59

@revansx
Copy link
Contributor Author

revansx commented Jan 21, 2021

It would seem that the Tideways module mentioned above is the solution that was needed when profiling originally disabled per: https://github.com/enterprisemediawiki/meza/blob/master/src/roles/apache-php/templates/php.ini.j2#L899

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant