ID: 18648
Comment by: apiset at hotmail dot com
Reported By: ms at ecs dot soton dot ac dot uk
Status: Bogus
Bug Type: Apache2 related
Operating System: All
PHP Version: 5CVS-2003-01-29 (dev) / 4CVS-20020121 (stable)
New Comment:
The default httpd configuration on RH8.0 use
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
so is this RedHat fault? I replace above lines with
AddType application/x-httpd-php .php
and it works!!!
should tell redhat about this
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 21:50:42] [EMAIL PROTECTED]
First I made a typo in my previous comment.
I mean "application/x-httpd-php" everywhere I wrote "x-http-php".
Anyway let me mark this as bogus...
(The problem turned out to be a user fault.)
------------------------------------------------------------------------
[2003-02-07 19:33:06] j-blion at ifrance dot com
Apache 2.0.44 / PHP 4.3.1-dev (php4-STABLE-200302071830)
No more problem.
Neither sessions, neither forms
Good job !
------------------------------------------------------------------------
[2003-02-06 03:57:54] rep at devdomain dot com
That's it.
------------------------------------------------------------------------
[2003-02-04 20:49:40] laday at chollian dot net
Thanks... It works ok.
------------------------------------------------------------------------
[2003-02-04 15:05:45] [EMAIL PROTECTED]
[To anyone who experiences this trouble]
Are you sure that your httpd.conf has just A SINGLE KIND OF PHP RELATED
DIRECTIVE?
Then try grep "\(OutputFilter\|InputFilter\|AddType\)" < httpd.conf or
whatsoever.
# bad example (a)
AddInputFilter PHP php
AddOutputFilter PHP php
...
AddType x-httpd-php .php
# bad example (b)
SetInputFilter PHP
SetOutputFilter PHP
...
AddType x-httpd-php .php
# not bad (c)
AddInputFilter PHP php
AddOutputFilter PHP php
# good (d)
AddType x-httpd-php .php
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18648
--
Edit this bug report at http://bugs.php.net/?id=18648&edit=1