Skip to content

Commit b0b7384

Browse files
committed
Add php blackfire (disabled)
Add debug module blackfire
1 parent c25de77 commit b0b7384

File tree

87 files changed

+926
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+926
-55
lines changed

docker/php-apache-dev/alpine-3-php7/conf/provision/roles/webdevops-php-dev/tasks/bootstrap.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
- include: bootstrap/tools.yml
44
- include: bootstrap/php-fpm.yml
5-
- include: bootstrap/php-module.xdebug.yml
65
- include: bootstrap/php-module.opcache.yml
6+
- include: bootstrap/php-module.xdebug.yml
7+
- include: bootstrap/php-module.blackfire.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
- name: Disable blackfire by default
4+
replace:
5+
dest: '{{ item }}'
6+
regexp: '^[;\s]*((zend_)?(extension=))'
7+
replace: ';\1'
8+
ignore_errors: yes
9+
with_items:
10+
# RedHat
11+
- "/etc/php.d/zz-blackfire.ini"
12+
# Debian - PHP 5.x
13+
- "/etc/php5/conf.d/90-blackfire.ini"
14+
- "/etc/php5/conf.d/zz-blackfire.ini"
15+
- "/etc/php5/cli/conf.d/90-blackfire.ini"
16+
- "/etc/php5/cli/conf.d/zz-blackfire.ini"
17+
- "/etc/php5/fpm/conf.d/90-blackfire.ini"
18+
- "/etc/php5/fpm/conf.d/zz-blackfire.ini"
19+
# Debian - PHP 7.x
20+
- "/etc/php/7.0/cli/conf.d/90-blackfire.ini"
21+
- "/etc/php/7.0/fpm/conf.d/90-blackfire.ini"

docker/php-apache-dev/alpine-3/conf/provision/roles/webdevops-php-dev/tasks/bootstrap.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
- include: bootstrap/tools.yml
44
- include: bootstrap/php-fpm.yml
5-
- include: bootstrap/php-module.xdebug.yml
65
- include: bootstrap/php-module.opcache.yml
6+
- include: bootstrap/php-module.xdebug.yml
7+
- include: bootstrap/php-module.blackfire.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
- name: Disable blackfire by default
4+
replace:
5+
dest: '{{ item }}'
6+
regexp: '^[;\s]*((zend_)?(extension=))'
7+
replace: ';\1'
8+
ignore_errors: yes
9+
with_items:
10+
# RedHat
11+
- "/etc/php.d/zz-blackfire.ini"
12+
# Debian - PHP 5.x
13+
- "/etc/php5/conf.d/90-blackfire.ini"
14+
- "/etc/php5/conf.d/zz-blackfire.ini"
15+
- "/etc/php5/cli/conf.d/90-blackfire.ini"
16+
- "/etc/php5/cli/conf.d/zz-blackfire.ini"
17+
- "/etc/php5/fpm/conf.d/90-blackfire.ini"
18+
- "/etc/php5/fpm/conf.d/zz-blackfire.ini"
19+
# Debian - PHP 7.x
20+
- "/etc/php/7.0/cli/conf.d/90-blackfire.ini"
21+
- "/etc/php/7.0/fpm/conf.d/90-blackfire.ini"

docker/php-apache-dev/centos-7/conf/provision/roles/webdevops-php-dev/tasks/bootstrap.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
- include: bootstrap/tools.yml
44
- include: bootstrap/php-fpm.yml
5-
- include: bootstrap/php-module.xdebug.yml
65
- include: bootstrap/php-module.opcache.yml
6+
- include: bootstrap/php-module.xdebug.yml
7+
- include: bootstrap/php-module.blackfire.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
- name: Disable blackfire by default
4+
replace:
5+
dest: '{{ item }}'
6+
regexp: '^[;\s]*((zend_)?(extension=))'
7+
replace: ';\1'
8+
ignore_errors: yes
9+
with_items:
10+
# RedHat
11+
- "/etc/php.d/zz-blackfire.ini"
12+
# Debian - PHP 5.x
13+
- "/etc/php5/conf.d/90-blackfire.ini"
14+
- "/etc/php5/conf.d/zz-blackfire.ini"
15+
- "/etc/php5/cli/conf.d/90-blackfire.ini"
16+
- "/etc/php5/cli/conf.d/zz-blackfire.ini"
17+
- "/etc/php5/fpm/conf.d/90-blackfire.ini"
18+
- "/etc/php5/fpm/conf.d/zz-blackfire.ini"
19+
# Debian - PHP 7.x
20+
- "/etc/php/7.0/cli/conf.d/90-blackfire.ini"
21+
- "/etc/php/7.0/fpm/conf.d/90-blackfire.ini"

docker/php-apache-dev/debian-7/conf/provision/roles/webdevops-php-dev/tasks/bootstrap.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
- include: bootstrap/tools.yml
44
- include: bootstrap/php-fpm.yml
5-
- include: bootstrap/php-module.xdebug.yml
65
- include: bootstrap/php-module.opcache.yml
6+
- include: bootstrap/php-module.xdebug.yml
7+
- include: bootstrap/php-module.blackfire.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
- name: Disable blackfire by default
4+
replace:
5+
dest: '{{ item }}'
6+
regexp: '^[;\s]*((zend_)?(extension=))'
7+
replace: ';\1'
8+
ignore_errors: yes
9+
with_items:
10+
# RedHat
11+
- "/etc/php.d/zz-blackfire.ini"
12+
# Debian - PHP 5.x
13+
- "/etc/php5/conf.d/90-blackfire.ini"
14+
- "/etc/php5/conf.d/zz-blackfire.ini"
15+
- "/etc/php5/cli/conf.d/90-blackfire.ini"
16+
- "/etc/php5/cli/conf.d/zz-blackfire.ini"
17+
- "/etc/php5/fpm/conf.d/90-blackfire.ini"
18+
- "/etc/php5/fpm/conf.d/zz-blackfire.ini"
19+
# Debian - PHP 7.x
20+
- "/etc/php/7.0/cli/conf.d/90-blackfire.ini"
21+
- "/etc/php/7.0/fpm/conf.d/90-blackfire.ini"

docker/php-apache-dev/debian-8-php7/conf/provision/roles/webdevops-php-dev/tasks/bootstrap.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
- include: bootstrap/tools.yml
44
- include: bootstrap/php-fpm.yml
5-
- include: bootstrap/php-module.xdebug.yml
65
- include: bootstrap/php-module.opcache.yml
6+
- include: bootstrap/php-module.xdebug.yml
7+
- include: bootstrap/php-module.blackfire.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
3+
- name: Disable blackfire by default
4+
replace:
5+
dest: '{{ item }}'
6+
regexp: '^[;\s]*((zend_)?(extension=))'
7+
replace: ';\1'
8+
ignore_errors: yes
9+
with_items:
10+
# RedHat
11+
- "/etc/php.d/zz-blackfire.ini"
12+
# Debian - PHP 5.x
13+
- "/etc/php5/conf.d/90-blackfire.ini"
14+
- "/etc/php5/conf.d/zz-blackfire.ini"
15+
- "/etc/php5/cli/conf.d/90-blackfire.ini"
16+
- "/etc/php5/cli/conf.d/zz-blackfire.ini"
17+
- "/etc/php5/fpm/conf.d/90-blackfire.ini"
18+
- "/etc/php5/fpm/conf.d/zz-blackfire.ini"
19+
# Debian - PHP 7.x
20+
- "/etc/php/7.0/cli/conf.d/90-blackfire.ini"
21+
- "/etc/php/7.0/fpm/conf.d/90-blackfire.ini"

0 commit comments

Comments
 (0)