httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cassiel <raffaele.more...@gmail.com>
Subject Re: [users@httpd] PHP5 .phtml files problem
Date Mon, 15 Sep 2008 07:19:47 GMT
Thank you for helping, but it doesn't work.

I looked at the apache2 conf files on the testing machine and doesn't seem
to be any difference at all but the distribution, lenny on the testing one
and etch on the production. May the problem belong to this?

regards


2008/9/12 Norman Peelman <npeelman@cfl.rr.com>

> 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