That's simple, just modify your Apache httpd.conf on the line where it says something 
along the lines of:

AddType application/x-httpd-php .php4 .php .php3 .inc

change it to:

AddType application/x-httpd-php .php4 .php .html .php3 .inc
  ----- Original Message ----- 
  From: BennyYim 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, November 18, 2003 5:46 AM
  Subject: [PHP] .html extension PHP page be interpret


  I using WinXP + Apache 1.3.24 + PHP 4.3.3
   
  My apache default will interpret .php extension file. (e.g.
  index.php)

  If I have a PHP page, but I want to use .html file extension (e.g. index.html).
  what I need to set to make those html extension page be interpret by server.

  I want those .html extension PHP page be interpret.

  Thank You !


  .---------------------------------------.
  | Message Posted by NewsgroupXplorer    |
  | http://www.newsgroupxplorer.com       |
  |                                       |
  | Your newsreader in your browser.      |
  `---------------------------------------'

  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to