ID:               22881
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bugs at pointb dot co dot uk
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: RedHat 7.3
 PHP Version:      4.3.2RC1
 New Comment:

read above comment.


Previous Comments:
------------------------------------------------------------------------

[2003-03-25 14:54:58] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Since 4.3.2RC the default Apache 2 sapi is the apache2handler and is no
longer filter based. Therefor you should use
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and not

<Files *.php>
       SetOutputFilter PHP
       SetInputFilter PHP
</Files>

If you do want to use the old filter sapi, you need to use
--with-apxs2filter option.

------------------------------------------------------------------------

[2003-03-25 13:56:32] bugs at pointb dot co dot uk

Hi,

I have re-installed PHP as a DSO module on Apache 2.0.44 and I am
unable to use the new filter options. In v4.3.1 I could use the
following:

<Files *.php>
       SetOutputFilter PHP
       SetInputFilter PHP
</Files>

<Files *.phps>
       SetOutputFilter PHP
       SetInputFilter PHP
</Files>

When I use this I am prompted to download the script and I get the
following in my error log:

[error] an unknown filter was not added: PHP

However if I use the older formatting with 4.3.2RC1 all works well:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Is this a bug, or have I missed some documentation that tells me this
is no longer included?

Thanks.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22881&edit=1

Reply via email to