I get the following error during installation:
PHP Maximum upload filesize too small PHP upload_max_filesize = 11 MB TYPO3_CONF_VARS[BE][maxFileSize] = 10 MB
Currently PHP determines the limits for uploaded file's sizes and not TYPO3. It is recommended that the value of upload_max_filesize is at least equal to the value of TYPO3_CONF_VARS[BE][maxFileSize].
I've changed the php.ini setting to 11MB, also post_max_size=12
. How do I fix this error? Should I modify TYPO3_CONF_VARS[BE][maxFileSize]
and set it to some lower value?
Thanks!
Update : The TYPO3 option maxFileSize
was removed in TYPO3 7.6 . It is now sufficient to change the PHP settings.
In TYPO3 < 7.6 you have to specify the maxFileSize in Byte without any unit:
$TYPO3_CONF_VARS['BE']['maxFileSize'] = '10240';
In your php.ini you have to set these settings:
post_max_size = 10M
upload_max_filesize = 10M
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.