Re: why does PHP parse "*.html" files in one subdir/ but not in another?
| From: | kranthi | Date: | Sun, 19 Jul 2009 04:00:33 +0000 |
| Subject: | Re: why does PHP parse "*.html" files in one subdir/ but not in another? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295556@lists.php.net to get a copy of this message | ||
i never used x-mapp-php5, but most of a forums say it is specific to
1and1 hosting service. php recommends application/x-httpd-php
http://us2.php.net/manual/en/install.unix.apache2.php
try adding AddType application/x-httpd-php .html in your root htaccess
if that dosent help you'll have to add that to your htpd.conf file
> You do realize that PHP does not parse HTML files, right? The web server
> does that. In fact, the web server also parses PHP files, using a
> different library.
Kindly elaborate If you are saying that PHP cant parse files with
extension .html
http://us2.php.net/manual/en/security.hiding.php.