httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Peelman <npeel...@cfl.rr.com>
Subject Re: [users@httpd] PHP5 .phtml files problem
Date Fri, 12 Sep 2008 18:05:46 GMT
Cassiel wrote:
> Hi you all,
>
> I am trying to configure a pmapper based web site but can get it working.
> If I try to access the document root firefox open the save file dialog 
> box instead of execute the phtml script file.
>
> I have everything (at least I believe.. hope so..) configured as it 
> should be:
> - php5 mod is loaded correctly and displayed by apache2 -t -D DUMP_MODULES
> - AddType line contains .phtml extension as well
>
> Any ideas/suggestion about this?
>
> regards
> raffaele
Other than you should use:

AddHandler php5-script .phtml

instead of AddType...


-- 
Norman
Registered Linux user #461062
-Have you been to www.apache.org yet?-

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message