[Tfug] Apache server and PHP
Brian Murphy
murphy+tfug at email.arizona.edu
Wed May 31 14:45:08 MST 2006
Quoting Chad Woolley <thewoolleyman at gmail.com>:
> I thought his PHP was already working. If he didn't have those, it
> wouldn't even be interpreting php, would it?
I don't know. The problem of apache "not performing the proper
encoding" sounds to me like it's dumping raw php code to his browser.
A better question might get a better answer. ;)
B
> On 5/31/06, Brian Murphy <murphy+tfug at email.arizona.edu> wrote:
>> 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.
>>
>>
>>
>> _______________________________________________
>> Tucson Free Unix Group - tfug at tfug.org
>> Subscription Options:
>> http://www.tfug.org/mailman/listinfo/tfug
>>
>
> _______________________________________________
> 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