php 에러표시
작성자 정보
- 관리자 작성
- 작성일
본문
1. PHP 에러로그가 출력되게 합니다.
.htaccess 파일을 만들고 그 안에 아래 내용을 넣습니다.
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
2. 에러 내용이 출력이 되면 확인후에 코드를 고치거나 조치를 합니다.
3. 다 고쳤다면 에러 메시지 안나오게 다시 수정합니다.
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
.htaccess 파일을 만들고 그 안에 아래 내용을 넣습니다.
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
2. 에러 내용이 출력이 되면 확인후에 코드를 고치거나 조치를 합니다.
3. 다 고쳤다면 에러 메시지 안나오게 다시 수정합니다.
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
관련자료
-
링크
-
이전
-
다음
댓글 0개
등록된 댓글이 없습니다.