새로운 글

  • 새로운 소식이 있나요?
  • 이미지
    2016-02-03

    PHP 에러 로그는 디폴트로 남지 않는다.


    /etc/php.ini 파일을 열어서 다음과 같이 설정해준다.

    error_log = php_errors.log

    혹은 원하는 에러 로그 위치를 지정해줘도 된다.

    Reference:
    http://stackoverflow.com/questions/5127838/where-does-php-store-the-error-log