Re: .html extension PHP page be interpret
| From: | Eugene Lee | Date: | Tue, 18 Nov 2003 11:20:00 +0000 |
| Subject: | Re: .html extension PHP page be interpret | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170080@lists.php.net to get a copy of this message | ||
On Tue, Nov 18, 2003 at 10:46:48AM -0000, BennyYim wrote:
:
: 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.
Look for the following line in your Apache configuration file and change
it thusly:
AddType application/x-httpd-php .php .html
See the online docs for more specifics:
http://www.php.net/manual/en/install.apache.php