[Tfug] Apache server and PHP
erich
erich1 at copper.net
Wed May 31 14:32:34 MST 2006
Yes,
PHP is installed on my machine:
root at cbl root # emerge -vp dev-lang/php
.
.
.
[ebuild R ] dev-lang/php-5.1.2-r1
Erich
Chad Woolley wrote:
>I thought his PHP was already working. If he didn't have those, it
>wouldn't even be interpreting php, would it?
>
>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
>
>
>
More information about the tfug
mailing list