File Upload Setup
upload_max_filesize = 5M
post_max_size = 8Mfile_uploads = On
max_execution_time = 300
max_input_time = 300
memory_limit = Last updated
Was this helpful?
Article Topics: Setup
PHP limits the size of files that can be uploaded. PHP sends an error if you try uploading a file larger than this size. Edit the php.ini configuration file to change these settings; look for the following lines:
upload_max_filesize = 5M
post_max_size = 8MExample: If you are uploading 10M files, both of these values should be > 10M
Please Note: If you are having problems with adtool file uploads (content zips, banner files, thumbnails) you may need to update your php settings. These default php settings will limit the size of files you can upload, and will need to be modified to allow the files you are using.
Additional settings that may also cause issues with file uploads:
file_uploads = On
max_execution_time = 300
max_input_time = 300
memory_limit = file_uploads must be enabled.
max_execution_time # of seconds
max_input_time # of seconds
memory_limit must be AT LEAST as large as your post_max_size and upload_max_filesize settings.
Please Note: memory_limit affects all of php, and may need to be set higher than the others for other reasons.
Last updated
Was this helpful?
Was this helpful?