Re: PHP Not Working

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

 



On 06/15/2011 10:13 PM, Matus UHLAR - fantomas wrote:
On 10.06.11 00:03, Jeroen Geilman wrote:
You need to tell apache what to do with .php files.

This can be implemented - as documented - by adding

<FilesMatch \.php$>
     SetHandler application/x-httpd-php
</FilesMatch>

in your Documentroot Directory block.
Since when they recomment something different than AddHandler?



Who are "they" ?

The above is the recommended way on the apache httpd wiki: http://www.php.net/manual/en/install.unix.apache2.php

We also unerringly advise it on freenode's #httpd channel.

It works.

--
J.


---------------------------------------------------------------------
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