Environment
class Environment
Methods
static bool
increaseMemoryLimit(string $newMemoryLimit)
Increase the PHP Memory Limit to the passed value if the current value is smaller
static bool
increaseMemoryLimitIfNeeded($memoryToKeepFree = '32M')
This function makes sure the passed percentage of memory is kept free. If the free memory for this process runs below this level the memory will be automatically increased
static bool
increaseTimeLimit(int $seconds)
Increase Time Limit of process if the current value is smaller
Details
at line 22
static bool
increaseMemoryLimit(string $newMemoryLimit)
Increase the PHP Memory Limit to the passed value if the current value is smaller
at line 54
static bool
increaseMemoryLimitIfNeeded($memoryToKeepFree = '32M')
This function makes sure the passed percentage of memory is kept free. If the free memory for this process runs below this level the memory will be automatically increased
at line 42
static bool
increaseTimeLimit(int $seconds)
Increase Time Limit of process if the current value is smaller