On Mar 24, 2011, at 11:37, sdrulea wrote:

> You're absolutely correct! I moved the <?php ..?> script into index.php and
> it works fine.
> 
> I understand the performance cost associated with processing PHP in .html
> files. Nevertheless, if I wanted to enable PHP in .html files, what would I
> need to do?

The line that tells Apache to use mod_php for .php files is:


    AddType application/x-httpd-php .php


If you want Apache to process .html files with mod_php too, you'd presumably 
add:


    AddType application/x-httpd-php .html




_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to