지식저장소

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

How to parse PHP in HTML files?

Modified on:
parse php html .htaccess

If you want to make all of your website's .html pages to run as .php files instead (parsing PHP in HTML files), all you need to do is add the following line to your .htaccess file:

AddHandler application/x-httpd-lsphp .htm .html

IMPORTANT: Make sure to make backups of your original .htaccess file, as making changes to this file can disrupt access to your website.

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