Compare commits

..

3 Commits

Author SHA1 Message Date
Jenkins Server
64ef26cb22 Merge remote-tracking branch 'origin/master' into jenkins-build-11 2026-10-24 17:02:06 +02:00
599b1da433 add parameter for max_exec_time 2026-10-24 17:01:11 +02:00
Jenkins Server
9d1d79e74b Merge remote-tracking branch 'origin/master' into jenkins-build-10 2026-06-13 14:45:20 +02:00
2 changed files with 7 additions and 3 deletions

View File

@@ -4,11 +4,15 @@
# @summary Class contains all class parameters for this module
# @param [String] reqpackages which packages to install
# @param [String] pkg_ensure which version of packages to install
# @param [String] php_max_execution_time maximum execution time for PHP scripts
##############################################################################
class confdroid_php::params (
String $reqpackages = 'php',
String $pkg_ensure = 'present',
String $reqpackages = 'php',
String $pkg_ensure = 'present',
# php.ini
String $php_max_execution_time = '30',
) {
# Facts

View File

@@ -411,7 +411,7 @@ expose_php = On
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 30
max_execution_time = <%= @php_max_execution_time %>
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly