직업이 개발자이다보니 이슈 트래킹 툴인 MantisBT를 자주 사용한다.
파일 업로드 시 기본으로 설정된 용량이 작은편이라 업로드 용량을 늘여서 사용한다.
Mantis 설치는 자료가 많으니 넘어가고 설치 후 업로드 용량을 변경하는 방법이다.
(시놀로지의 경우도 설정 파일의 위치만 다른뿐 내용은 동일하다.)
1. mantis 설정 (mantis 폴더안의 config_inc.php)
$g_max_file_size = 1073741824; # 1GB2. mysql 설정 (/etc/config/my.cnf)
max_allowed_packet = 1024M3. php.ini 설정 (제어판 -> 웹 서버 -> php.ini 편집)
memory_limit = 1024M4. mysql, httpd 재시작
upload_max_filesize = 2047M
-> upload_max_filesize는 기본으로 2G가 잡혀있다.
# /etc/init.d/mysqld.sh restart5. 끝!!!
# /etc/init.d/Qthttpd.sh restart
댓글 없음:
댓글 쓰기