gpt4 book ai didi

php - TYPO3 - upload_max_filesize 安装错误

转载 作者:可可西里 更新时间:2023-11-01 00:32:15 25 4
gpt4 key购买 nike

安装过程中出现以下错误:

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].

我已将 php.ini 设置更改为 11MB,同时 post_max_size=12。我该如何解决这个错误?我是否应该修改 TYPO3_CONF_VARS[BE][maxFileSize] 并将其设置为某个较低的值?

谢谢!

最佳答案

更新:TYPO3 选项maxFileSizeremoved in TYPO3 7.6 .现在更改 PHP 设置就足够了。


TYPO3 < 7.6 中,您必须以不带任何单位的字节指定 maxFileSize:

$TYPO3_CONF_VARS['BE']['maxFileSize'] = '10240';

在您的 php.ini 中,您必须设置这些设置:

post_max_size = 10M
upload_max_filesize = 10M

关于php - TYPO3 - upload_max_filesize 安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24603578/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com