|
|
@ -1,7 +1,8 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
use esmith::ConfigDB; |
|
|
|
use esmith::ConfigDB; |
|
|
|
my $c = esmith::ConfigDB->open_ro || die "Couldn't opeen the configuration database\n"; |
|
|
|
my $c = esmith::ConfigDB->open_ro || die "Couldn't opeen the configuration database\n"; |
|
|
|
my $php = $c->get( 'php' . $PHP_VERSION . '-php-fpm' ); |
|
|
|
my $srv = ( $PHP_VERSION ne '') ? 'php' . $PHP_VERSION . '-php-fpm' : 'php-fpm'; |
|
|
|
|
|
|
|
my $php = $c->get( $srv ); |
|
|
|
if ($php){ |
|
|
|
if ($php){ |
|
|
|
$MemoryLimit = $php->prop('MemoryLimit') || '128M'; |
|
|
|
$MemoryLimit = $php->prop('MemoryLimit') || '128M'; |
|
|
|
$MaxExecutionTime = $php->prop('MaxExecutionTime') || '30'; |
|
|
|
$MaxExecutionTime = $php->prop('MaxExecutionTime') || '30'; |
|
|
|