Forums / Cotonti / Support / PFS max size for a single file (KB)

dervan
#9934 2009-03-13 06:23
upload maximum size is limited by minimum value from these parameters in php.ini:
upload_max_filesize
post_max_size
memory_limit

note: -1 (? or emty string ?) for memory_limit means that memory is not limited

to avoid any problems like this, check for real upload limit was added to Cotonti 0.0.3, and can't will be configured Cotonti above this limit

please call phpinfo() to see these parameters at your host, or use script:
<?php
$par_a = array('upload_max_filesize', 'post_max_size', 'memory_limit');
foreach ($par_a as $par)
{
	echo "$par = ", ini_get($par), '<br />';
}
?>

if you don't have acсess to php.ini, you can attempts to increase upload limit with directives in .htaccess:
php_value upload_max_filesize value
php_value post_max_size value
php_value memory_limit value