홈페이지에 이미지를 올리면 이미지의파일이 2배로 올라가면서(
글쓴이: 정현종 / 작성시간: 금, 2004/01/16 - 10:59오전
셋팅은 리눅스 9.x버젼이구요
php.ini 셋팅은
;Whether to allow HTTP file uploads.
file_uploads= ON
;Temporay directory fot HTTP upload files(will use system default if not ; specfied)
upload_tmp_dir= /tmp
;Maxmum allowed size for uploaded files.
upload_max_filesize = 30M
했는데두 이미지를 올리면 깨지거나 아예 뜨지 않습니다.
그런데 gif 이미지는 올러가더라구요...
어케된건지 알고계시다면 알려주세요^^
Forums:
Redhat 9, 혹은 8을 쓰고 계신다면..
레드햇 9, 혹은 8을 쓰고 있을 경우 PHP 문제일 가능성이 높습니다.
셸에서 다음 커맨드를 이용, 현재 설치된 PHP의 버전을 먼저 확인하세요.
rpm -qa |grep php
4.2.2-17 일 경우.. 기본으로 들어있는 PHP 패키지에 버그가 있는 관계로.. 업데이트를 권장합니다.
http://fr2.rpmfind.net//linux/RPM/redhat/9/updates/i386/php-4.2.2-17.2.i386.html
이 이상의 버전이 존재할 수도 있으니 up2date를 사용하셔서 업데이트를 하시는게 더욱 좋겠지요.. :)
P.S: 예전에 동일한 질문이 올라왔었던걸로 기억하는데.. 질문을 올리기전에 페이지 상단의 검색을 한번 이용해보시면 빠른 해결책을 얻으실 수 있을껍니다.
댓글 달기