View Single Post
Old 09-03-2003, 03:19 PM   #27 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
Actually, it's simple to have an .html page or .phtml, whatever to be recognized as a PHP script and work properly. Just change your Apache config like so:
Code:
AddType application/x-httpd-php .php .html .phtml
Restart Apache server.

Basically just tells Apache to allow those suffixes to parse as PHP files if they happen to contain any PHP code.
bdl is offline   Reply With Quote