PHP 스크립트상에서 에러메시지를 제어할 수 있는데 여러가지 옵션이 있습니다.
옵션을 참고하셔서 디버깅할때 활용하시기 바랍니다.
옵션을 바꾸면서 테스트를 해보시기 바랍니다.
출처 : http://php.net/manual/en/function.error-reporting.php
<?php
// Turn off all error reporting , 모든 에러메시지 표시하기 않기
error_reporting(0);
// Report simple running errors, 실행에러만 간단히 표시
error_reporting(E_ERROR | E_WARNING | E_PARSE);
// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);
// Report all PHP errors (see changelog)
error_reporting(E_ALL);
// Report all PHP errors
error_reporting(-1);
// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
?>게시글 목록
| 번호 | 제목 |
|---|---|
| 11623 |
웹서버
FTP 프로세스 죽이기
1
|
| 20284 | |
| 291 | |
| 11622 | |
| 20283 |
CSS
CSS slider 테스트1
|
| 20282 |
CSS
수평메뉴1
|
| 11620 |
node.js
Node.js 서버의 기본적인 내용 정리
1
|
| 20281 |
기타
dpi 환산표(?)
|
| 11619 | |
| 20280 | |
| 11612 |
PHP
숫자를 한글로 변환
2
|
| 11611 | |
| 11608 |
PHP
썸네일 클래스입니다
2
|
| 11605 | |
| 11602 |
MySQL
자주쓰는 MYSQL
2
|
| 11601 | |
| 11600 |
PHP
두지점의 위도,경도간 거리계산
|
| 11599 | |
| 11597 |
MySQL
무한 로딩 중인 쿼리 죽이기
1
|
| 11596 |
기타
파폭 ssh, ftp
|
| 11595 |
MySQL
mysql 기본 사용법
|
| 11594 | |
| 11593 | |
| 11592 |
jQuery
제이쿼리를 이용하여 노드 선택
|
| 11591 |
jQuery
append를 이용하여 엘리먼트 추가하기
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기