제한 시간 제안 - 895원/month
00
DAYS
23
HOURS
11
MINUTES
20
SECONDS
시작하세요
×

지식저장소

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How to enable error_log.txt logging over .htaccess file

Modified on:
error log error_log.txt error_log

To start logging your PHP errors to an error_log file instead of the .logs folder, add the following lines to your .htaccess file:
# log PHP errors to a file
php_flag log_errors on
php_value error_reporting 32767
php_value error_log "error_log.txt"

IMPORTANT: Make sure to make a backup of your previous .htaccess file before making any changes to as incorrect settings can make your website inaccessible. 

  • 쉬운 웹 사이트 빌더
  • 99.9 % 가동 시간 보장
  • 24/7 라이브 지원
  • Powerful Control Panel
  • 30 일 환불 보증
Limited Time Special Offer!
부터
895
/월
구하다 90%
시작하세요