Role Detail

geerlingguy.php-xdebug

PHP XDebug for Linux
Downloads
28918
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install geerlingguy.php-xdebug
Tags
development
web
Last Commit 2017-10-25 15:38:03 PM UTC
Last Imported 2017-10-25 15:58:03 PM UTC
Version History
Version Release Date
2.4.0 2017-10-25 15:38:03 PM
2.3.1 2016-12-29 04:49:04 AM
2.3.0 2016-12-27 15:38:03 PM
2.2.2 2016-12-10 03:52:03 AM
2.2.1 2016-12-10 03:50:03 AM
2.1.1 2016-09-15 20:58:08 PM
2.2.0 2016-06-13 13:11:01 PM
2.1.0 2016-04-11 03:09:03 AM
2.0.0 2016-03-07 03:01:03 AM
1.2.1 2016-02-21 02:55:02 AM
1.2.0 2016-02-09 04:35:04 AM
1.1.6 2016-01-12 17:07:05 PM
1.1.5 2015-12-07 16:36:04 PM
1.1.4 2015-11-13 04:56:04 AM
1.1.3 2015-03-26 21:20:09 PM
1.1.2 2014-10-22 20:56:08 PM
1.1.1 2014-10-21 17:15:05 PM
1.1.0 2014-10-13 19:28:07 PM
1.0.2 2014-04-08 18:52:06 PM
1.0.1 2014-04-08 15:20:03 PM
1.0.0 2014-04-08 14:51:02 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
Fedora 26
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 artful
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
Ubuntu zesty
Dependencies
Role
Last 10 Imports
Completed Status
2017-10-25 15:58:03 PM UTC SUCCESS
2017-10-25 15:50:03 PM UTC SUCCESS
2017-10-25 15:46:03 PM UTC SUCCESS
2017-10-25 15:39:03 PM UTC SUCCESS
2017-09-16 00:34:12 AM UTC SUCCESS
2017-04-02 15:15:03 PM UTC SUCCESS
2017-02-09 03:40:03 AM UTC SUCCESS
2017-02-09 02:18:02 AM UTC SUCCESS
2017-01-23 21:50:09 PM UTC SUCCESS
2017-01-23 20:09:08 PM UTC SUCCESS

Ansible Role: PHP-XDebug

Build Status

Installs PHP XDebug on Linux servers.

Requirements

Prior to running this role, make sure the php-devel and @Development Tools (for RHEL/CentOS) or php5-dev + build-essential packages (for Debian/Ubuntu) are present on the system, as they are required for the build of Xdebug.

Role Variables

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

workspace: /root

Where Xdebug setup files will be downloaded and built.

php_xdebug_version: 2.5.0

The version of Xdebug to be installed (see Updates for a current listing).

php_xdebug_default_enable: 1
php_xdebug_coverage_enable: 1

Whether to enable XDebug coverage and default exception handling or not. Disable these for slightly improved PHP performance, enable these to use XDebug to the fullest extent.

php_xdebug_module_path: /usr/lib64/php/modules

The path where xdebug.so will be installed.

php_xdebug_remote_enable: "false"

Whether remote debugging is enabled.

php_xdebug_remote_connect_back: "false"

If this is set to true, Xdebug will respond to any request from any IP address; use only for local development on non-public installations!

php_xdebug_remote_host: localhost
php_xdebug_remote_port: "9000"

The host and port on which Xdebug will listen.

php_xdebug_remote_log: /tmp/xdebug.log

The location of the xdebug log (useful if you're having trouble connecting).

php_xdebug_idekey: sublime.xdebug

The IDE key to use in the URL when making Xdebug requests (e.g. http://example.local/?XDEBUG_SESSION_START=sublime.xdebug).

php_xdebug_max_nesting_level: 256

The maximimum function nesting level before Xdebug bails and throws a fatal exception.

php_xdebug_cli_disable: no

(Debian/Ubuntu ONLY) Disable xdebug for the CLI SAPI.

Dependencies

  • geerlingguy.php

Example Playbook

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

License

MIT / BSD

Author Information

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

None