Limited Time Offer - from 2,55zł/month
04
DAYS
05
HOURS
54
MINUTES
27
SECONDS
Zaczynać
×

Podstawy Nauki

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.

  • Kreator Stron
  • 99.9% Gwarancja Uptime
  • 24/7 Live Wsparcie
  • Powerful Control Panel
  • 30-dniowa Gwarancja zwrotu pieniędzy
Limited Time Special Offer!
Tylko
2
55
/Mi
Zapisz 90%
Zacznij