geerlingguy.php-tideways
已弃用的 Ansible 角色:PHP-Tideways
已弃用:此 Ansible 角色不再维护,已被弃用。
在 Linux 服务器上安装 Tideways PHP Profile Extension。
要求
无。
角色变量
可用的变量如下所示,以及默认值(请参见 defaults/main.yml
):
workspace: /root
Tideways 设置文件将在此下载和构建。
tideways_download_url: https://github.com/tideways/php-xhprof-extension/archive/master.zip
tideways_download_folder_name: php-xhprof-extension-master
Tideways 下载的 URL,以及下载后的文件夹名称。
tideways_extension_name: tideways_xhprof.so
Tideways PHP 扩展的扩展名称。
tideways_api_key: ''
如果您使用 Tideways UI,请将此变量设置为您的 API 密钥。否则可以与 XHProf UI 一起使用来查看配置文件。
tideways_install_xhprof_ui: true
Tideways 数据格式与 XHProf 100% 兼容,因此您可以使用 XHProf UI 浏览报告,并使用 XHProfRuns_Default
类将配置文件数据写入磁盘。如果您使用 Tideways UI,请将此变量设置为 no
。
xhprof_download_url: https://github.com/phacility/xhprof/archive/master.tar.gz
xhprof_download_folder_name: xhprof-master
XHProf 的下载 URL。
php_xhprof_lib_dir: /usr/share/php/xhprof_lib
存储 XHProf PHP 库的目录。
php_xhprof_html_dir: /usr/share/php/xhprof_html
存储 XHProf UI 的目录。
依赖
- geerlingguy.php
示例剧本
- hosts: webservers
roles:
- geerlingguy.php-tideways
许可证
MIT / BSD
作者信息
此角色由 Jeff Geerling 创建于 2017 年,他是 Ansible for DevOps 的作者。
关于项目
Tideways PHP Profiler Extension for Linux
安装
ansible-galaxy install geerlingguy.php-tideways
许可证
mit
下载
48.3k
拥有者
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns