const DEFAULT_MAX_SIZE = 10485760;
const DEFAULT_MAX_SIZE = 10485760000;
ini_set('memory_limit','256M');
RAM сколько?
phpinfo();