RadarURL

조회 수 3381 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

제로보드 게시판에서 파일을 업로드 하는중에 100% 되면서 멈춰버리는 현상이 발생합니다.

이 문제를 해결하기 위해서 apache/conf 의 php.ini 파일을 다음과 같이 수정하시면 해결 됩니다.



[www:/usr/local/apache/conf] #   vi php.ini


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

; max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_execution_time = 0     ; Maximum execution time of each script, in seconds

; max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
max_input_time = 120    ; Maximum amount of time each script may spend parsing request data

;max_input_nesting_level = 64 ; Maximum input variable nesting level
; memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
memory_limit = 256M      ; Maximum amount of memory a script may consume (128MB)



(중간 생략)

; Maximum size of POST data that PHP will accept.
; post_max_size = 8M
post_max_size = 100M



(중간 생략)

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =
upload_tmp_dir = /tmp

; Maximum allowed size for uploaded files.
upload_max_filesize = 32M



(중간 생략)

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = Off

; Define the anonymous ftp password (your email address)
;from="john@doe.com"

; Define the User-Agent string
; user_agent="PHP"

; Default timeout for socket based streams (seconds)
; default_socket_timeout = 60
default_socket_timeout = 120




마지막으로 apache resetart 를 한 다음 제로보드 게시판에서 확인하시면 됩니다. ^^;



* 참고로 php.ini 파일 설정시 다음을 참고 하세요 ^^;

memory_limit  >>  post_max_size  >>  upload_max_filesize


출처 : http://www.wowunix.com/cgi-bin/CrazyWWWBoard.cgi?mode=read&num=25&db=zeroboard&backdepth=1

?

공부 게시판

공부에 도움되는 글을 올려주세요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 [공지] 공부 게시판 입니다. 처누 2003.08.18 952956
10 웹 프로그래밍 PHP 파서 이해하기 (<?php의 php를 생략하고 간단히 <? 태그 와 ?> 태그를 사용하는 방법) YooN 2016.08.10 1177
9 웹서버,WAS Apache 서버에서 확장자 .htm 파일 내의 php 코드가 실행되지 않는 문제 해결 방법 YooN 2014.05.26 3063
» 웹 프로그래밍 php 웹사이트에서 파일을 업로드 하는중 100%에서 멈춰버리는 현상 해결 YooN 2014.05.16 3381
7 웹 프로그래밍 PHP MySQL 명령어 실행 함수 mysql_query YooN 2014.04.29 2588
6 웹서버,WAS Nginx에서 php 외에 추가로 여러 확장자를 처리 방법 YooN 2013.06.11 5674
5 웹 프로그래밍 현재 도메인 사이트 주소 확인(php) $_SERVER 함수정리 YooN 2013.04.06 5956
4 보안 KCB 실명확인서비스 OKname 소개 file YooN 2013.03.09 14138
3 웹 프로그래밍 [Fedora9] Apache & PHP 설치 YooN 2012.12.06 4548
2 웹 프로그래밍 MagpieRSS: Flexible RSS Parser in PHP, supporting Caching YooN 2012.11.11 5434
1 웹 프로그래밍 PHP를 Windows 서버에서 사용하려면 (CGI, ISAPI, FastCGI) YooN 2012.08.17 5443
Board Pagination Prev 1 Next
/ 1


즐겨찾기 (가족)

JAESOO's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너