最近在用testlink 1.9.14 发现上传文件有限制
使用方法修改限制:
1、修改testlink的config.inc.php,找到
// unit BYTES is required by MAX_FILE_SIZE HTML option
$tlCfg->import_file_max_size_bytes = '8388608'; 修改为8M
/** Maximum line size of the imported file */
$tlCfg->import_max_row = '100000'; // in chars
2、修改php中的参数:
打开php.ini(文件的位置在linux中位于 /etc/目录下),修改max_filesize为8M
; Maximum allowed size for uploaded files.
upload_max_filesize = 8M
; Maximum size of POST data that PHP will accept.
post_max_size = 10M
修改后重启apache后,发现限制还是存在,怎么回事呢
|