Re: Apache22 + PHP5 not execute

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

 



Victor Trac wrote:
You have conflicting AddType lines. You're first telling apache that .php files are text/html, and then you're telling apache that it should be handled with x-httpd-php next. Remove the "AddType text/html .php". Also, you're sending .html files to the PHP handler.. which should theoretically work, but I imagine is causing unnecessary load on Apache.

--Victor

<http://www.victortrac.com>
No top posting, bad geek. No new toys for you. Anyways, sending the .html files to the PHP handler does work but I've never had a problem with load on apache because of it. The PHP handler will ignore anything that isn't encapsulated in <? ?>


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