Re: PHP5 .phtml files problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux