Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/206143

Change subject: contint: Set html_errors=0 in php/conf.d
......................................................................

contint: Set html_errors=0 in php/conf.d

Bug: T97040
Change-Id: Id2ef2617913582ae35edb26cb19d7043f21d9452
---
A modules/contint/files/php-disable-html_errors.ini
M modules/contint/manifests/packages.pp
2 files changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/43/206143/1

diff --git a/modules/contint/files/php-disable-html_errors.ini 
b/modules/contint/files/php-disable-html_errors.ini
new file mode 100644
index 0000000..f6d32d8
--- /dev/null
+++ b/modules/contint/files/php-disable-html_errors.ini
@@ -0,0 +1,7 @@
+; This file is managed by puppet
+; puppet:///modules/contint/php-disable-html_errors.ini
+extension="apc.so"
+
+; Disable html_errors per T97040
+; http://php.net/html-errors
+html_errors=0
diff --git a/modules/contint/manifests/packages.pp 
b/modules/contint/manifests/packages.pp
index 4339a22..b2f7497 100644
--- a/modules/contint/manifests/packages.pp
+++ b/modules/contint/manifests/packages.pp
@@ -53,6 +53,13 @@
         ]:
         ensure => absent,
     }
+    file { '/etc/php5/conf.d/disable-html_errors.ini':
+        owner   => 'root',
+        group   => 'root',
+        mode    => '0444',
+        source  => 'puppet:///modules/contint/php-disable-html_errors.ini',
+        require => Package['php5-xdebug'],
+    }
 
     # Database related
     package { [

-- 
To view, visit https://gerrit.wikimedia.org/r/206143
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2ef2617913582ae35edb26cb19d7043f21d9452
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to