adapt php memory limit on client call

This commit is contained in:
Klaus Leithoff 2011-09-09 10:50:18 +00:00
parent 5591a797ff
commit 95d662ad7d

View File

@ -221,7 +221,7 @@ foreach(array('php','source_dir','data_dir','setup-cli') as $name)
{
if (!file_exists($config[$name])) bail_out(1,$config[$name].' not found!');
}
$setup_cli = $config['php'].' -d memory_limit=64M '.$config['setup-cli'];
$setup_cli = $config['php'].' -d memory_limit=256M '.$config['setup-cli'];
if (!file_exists($config['header']) || filesize($config['header']) < 200) // default header redirecting to setup is 147 bytes
{