[Tfug] Apache server and PHP
Brian Murphy
murphy+tfug at email.arizona.edu
Wed May 31 14:12:47 MST 2006
The 2 things to look for are a LoadModule php5_module statement and
AddType application/x-httpd-php .php statement. Perhaps you missed the
second stanza. It's common to append index.php to your DirectoryIndex
statement too.
Brian
Quoting Erich Flothmeier <erich1 at copper.net>:
> The problem is that my apache server is not performing the proper
> encoding
> of PHP code on my machine.
>
> There is a module:
>
> /etc/apache2/modules.d/70_mod_php5.conf
>
> with several software switches in it:
>
>
> <IfDefine PHP5>
> .
> .
> .
> <IfModule mod_mime.c>
> .
> .
> .
> </IfModule>
> .
> .
> </IfDefine>
>
> I am wondering how these switches are set. Right now I'm about
> to rebuild Apache with the php use flag. Doing an
>
> emerge -vp apache
>
> does not give me any encouragement.
>
>
> Erich
>
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug
The opinions or statements expressed herein are my own and should not be
taken as a position, opinion, or endorsement of the University of
Arizona.
More information about the tfug
mailing list