package.ini [UploadSettings]
The block [UploadSettings] of settings/package.ini, with 4 setting(s).
The limits of a package archive uploaded on package/upload, the setup wizard or ezpm import
(eZPackageUploadInspector). An archive is also refused, whatever these say, when an entry points outside the
package ("..", an absolute path), is a link or a device, or its package.xml is not a well formed definition.
Guide: doc/eng-us/guides/packages.md
Never edit settings/package.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/package.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/package.ini.append.phpfor one siteaccess,extension/<extension>/settings/package.ini.append.phpin an extension (read when the extension is active).
MaxArchiveSize
The largest archive accepted, in bytes (256 MiB). PHP's upload_max_filesize and post_max_size apply first.
Default: 268435456.
# settings/override/package.ini.append.php
[UploadSettings]
MaxArchiveSize=268435456
*/ ?>MaxUnpackedSize
The most its entries may unpack to, in bytes (2 GiB)
Default: 2147483648.
# settings/override/package.ini.append.php
[UploadSettings]
MaxUnpackedSize=2147483648
*/ ?>MaxEntries
The most entries (files and directories) an archive may have
Default: 50000.
# settings/override/package.ini.append.php
[UploadSettings]
MaxEntries=50000
*/ ?>AllowedSuffixes
The endings an uploaded file's name may have
Default: a list of 3: ezpkg, tar.gz, tgz.
# settings/override/package.ini.append.php
[UploadSettings]
# an empty "AllowedSuffixes[]" first replaces the shipped list; without it the items are added
AllowedSuffixes[]
AllowedSuffixes[]=ezpkg
AllowedSuffixes[]=tar.gz
AllowedSuffixes[]=tgz
*/ ?>Related
Generated by ./console exp:help:examples from settings/package.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.