新年优惠 降价82%
00
01
06
07

How to parse PHP in HTML files?

引用:
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.

  • 不限制搭建网站个数
  • 24/7 在线支持
  • 简单易用的建站助手
  • 2倍的WordPress 优化速度
  • 30天退款保证
赶上限时优惠!
低至
8
55
CNH
/月
节省 82%
开始