Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-php-xhprof
Ansible Role - PHP XHProf
https://github.com/geerlingguy/ansible-role-php-xhprof
ansible code-analysis php profile role tideways xhprof
Last synced: 19 days ago
JSON representation
Ansible Role - PHP XHProf
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-php-xhprof
- Owner: geerlingguy
- License: mit
- Created: 2014-10-31T18:43:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T16:01:34.000Z (2 months ago)
- Last Synced: 2024-10-10T04:06:13.589Z (about 1 month ago)
- Topics: ansible, code-analysis, php, profile, role, tideways, xhprof
- Language: PHP
- Homepage: https://galaxy.ansible.com/geerlingguy/php-xhprof/
- Size: 61.5 KB
- Stars: 13
- Watchers: 7
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: PHP-XHProf
[![CI](https://github.com/geerlingguy/ansible-role-php-xhprof/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-php-xhprof/actions?query=workflow%3ACI)
Installs PHP [XHProf](http://php.net/manual/en/book.xhprof.php) 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`](https://github.com/geerlingguy/ansible-role-php-tideways) if you need to support modern PHP versions.
## 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_version: "2.1.2"
The version of XHProf to download.
xhprof_download_url: https://github.com/longxinH/xhprof/archive/v{{ xhprof_version }}.zip
xhprof_download_folder_name: xhprof-{{ xhprof_version }}The URL from which XHProf will be downloaded.
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:
- geerlingguy.php-xhprof## License
MIT / BSD
## Author Information
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).