Linux

CentOS 6 으로 버전 업데이트 하고 몇가지 문제점

Jack Moon 2019. 8. 6. 16:18



#################################### Spreadsheet Excel Writer ERROR

Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/pear/Spreadsheet/Excel/Writer/Workbook.php on line 180


PHP 버전 5.3 이상부터 & 제거

해당 파일을 찾아 =&  ->   =  수정한다.


#################################### 500서버 에러

/var/log/httpd/error_log 를 찾아 에러의 원인을 확인


에러: Response header name ' Content-Type' contains invalid characters

header(' Content-Type: text/html; charset=euc-kr'); 찾아 모두 주석 처리


#################################### 이미지 업로드 에러

권한이 이상이 없을 경우 /etc/php.ini 

upload_max_filesize 를 늘려준다