Role Detail

geerlingguy.php-xhprof

PHP XHProf for Linux
Downloads
18185
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install geerlingguy.php-xhprof
Tags
development
web
Last Commit 2017-04-02 14:53:02 PM UTC
Last Imported 2017-04-02 15:17:03 PM UTC
Version History
Version Release Date
2.2.2 2017-01-15 02:36:02 AM
2.2.1 2016-12-30 16:26:04 PM
2.2.0 2016-12-10 03:23:03 AM
2.1.3 2016-09-15 22:00:10 PM
2.1.2 2016-05-13 12:43:12 PM
2.1.1 2016-05-12 19:48:07 PM
2.1.0 2016-03-07 03:11:03 AM
2.0.0 2016-03-01 18:22:06 PM
1.1.1 2016-01-31 23:29:11 PM
1.1.0 2016-01-26 19:20:07 PM
1.0.1 2015-11-24 18:05:06 PM
1.0.0 2014-10-31 20:25:08 PM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 5
EL 6
EL 7
Fedora 16
Fedora 17
Fedora 18
Fedora 19
Fedora 20
Fedora 21
Fedora 22
Fedora 23
Fedora 24
Fedora 25
FreeBSD 10.0
FreeBSD 10.1
FreeBSD 10.2
FreeBSD 10.3
FreeBSD 11.0
FreeBSD 8.0
FreeBSD 8.1
FreeBSD 8.2
FreeBSD 8.3
FreeBSD 8.4
FreeBSD 9.0
FreeBSD 9.1
FreeBSD 9.1
FreeBSD 9.2
FreeBSD 9.3
GenericBSD any
GenericLinux any
GenericUNIX any
opensuse 12.1
opensuse 12.2
opensuse 12.3
opensuse 13.1
opensuse 13.2
SLES 10SP3
SLES 10SP4
SLES 11
SLES 11SP1
SLES 11SP2
SLES 11SP3
SLES 11SP4
SLES 12
SLES 12SP1
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Dependencies
Role
Last 10 Imports
Completed Status
2017-04-02 15:17:03 PM UTC SUCCESS
2017-01-22 03:54:03 AM UTC SUCCESS
2017-01-15 02:42:02 AM UTC SUCCESS
2017-01-15 02:39:02 AM UTC SUCCESS
2017-01-15 02:37:02 AM UTC SUCCESS
2016-12-30 16:56:04 PM UTC SUCCESS
2016-12-30 16:56:04 PM UTC SUCCESS
2016-12-30 16:38:04 PM UTC SUCCESS
2016-12-30 16:34:04 PM UTC SUCCESS
2016-12-30 05:15:05 AM UTC SUCCESS

Ansible Role: PHP-XHProf

Build Status

Installs PHP XHProf on Linux servers.

Note: The XHProf extension has been on life support since Facebook abandoned active development around 2015. There is a better-maintained fork that works on the latest PHP versions called Tideways, and there's an Ansible role for it—please check out geerlingguy.php-tideways if you need to support PHP versions later than 7.0.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

workspace: /root

Where XHProf setup files will be downloaded and built.

xhprof_download_url: https://github.com/RustJason/xhprof/archive/php7.zip
xhprof_download_folder_name: xhprof-php7

The URL from which XHProf will be downloaded. Note that this default is for the PHP 7-compatible version of XHProf. If you're using PHP 5.x, you should probably switch to the 'official' upstream source: https://github.com/phacility/xhprof/archive/master.tar.gz.

xhprof_output_dir: /tmp

Directory where XHProf runs are stored.

php_xhprof_lib_dir: /usr/share/php/xhprof_lib

Directory where the XHProf PHP library is stored.

php_xhprof_html_dir: /usr/share/php/xhprof_html

Directory where the XHProf UI is stored.

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  roles:
    - { role: geerlingguy.php-xhprof }

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

None