php.ini file settings

php.ini file settings

Confirm after installing the server

  • short_open_tag = On
    “<? PHP” and “<?” Make it available.
  • display_errors = On
    When executing a PHP script, the message is output when the error occurs.
    (In case of OFF, HTTP 500 internal server error output)
  • date.timezone = Asia/Seoul
    Set the time zone.
  • error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED
    NOTICE error is ignored.

(* php.ini path: PHP–Ini | grep php.ini)

Leave a Reply

이메일 주소는 공개되지 않습니다. (* 질문, 건의사항 등은 "질문게시판"을 이용해주세요)