httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Long" <al...@escapewire.com>
Subject Re(2): [users@httpd] apache & php
Date Thu, 14 Dec 2006 11:06:11 GMT
Tried your suggestion with no luck... any other thoughts?

Andrew Long
(Apologies for quoting from bottom-up, I'm using a web interface that won't
allow me to change it)

---------- Original Message ----------------------------------
From: "Yvo van Doorn" <yvo.vandoorn@gmail.com>
Reply-To: users@httpd.apache.org
Date:  Wed, 13 Dec 2006 23:38:23 -0800

>Andrew,
>
>Either remove
>   <Files *.php>
>    SetOutputFilter PHP
>    SetInputFilter PHP
>    LimitRequestBody 524288
>    </Files>
>
>or
>
>  AddType application/x-httpd-php .php      # for PHP 4
>
>
>You can't have both. (My personal recommendation is to get rid of the Files
>directive)
>
>On 12/13/06, Andrew Long <along@escapewire.com> wrote:
>>
>> Problem on one server with php... php test file in doc root works well
>> and returns variables, status, etc... But when trying to open a php
>> under a subdir, the client browser will attempt to download the file.
>>
>> I post here since php(4) is working, so I think it's an Apache config
>> issue.
>>
>> There are are no directory options defined for the dir. (It is is for
>> phpMyAdmin, and requires no settings in http.conf)
>>
>> In php.conf under conf.d:
>>
>>    LoadModule php4_module modules/libphp4.so
>>    AddType application/x-httpd-php .php      # for PHP 4
>>
>>    <Files *.php>
>>     SetOutputFilter PHP
>>     SetInputFilter PHP
>>     LimitRequestBody 524288
>>     </Files>
>>
>>     DirectoryIndex index.php
>>
>> Thanks in advance-
>> Andrew Long
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
 
               

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message