安装过程中出现以下错误:
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 选项maxFileSize
为removed 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/