Re: Extension problem
| From: | Duncan Hill | Date: | Mon, 05 Apr 2004 09:45:35 +0000 |
| Subject: | Re: Extension problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182339@lists.php.net to get a copy of this message | ||
On Monday 05 April 2004 10:37, Enrico Comini wrote:
> I use php without problem, but my file is processed by php only if the
> extension is .php , why ?
> If I have for example a index.html with "<?php" at the beginning , this
> file is not parsed by php and I have to rename in index.php
> Thanks, Enrico
Apache (and other webservers) have a config option that maps file extensions
to parsers (ie, .php to mod_php).