php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24339 "Add*Filter PHP .." directives not work
Submitted: 2003-06-25 16:41 UTC Modified: 2003-12-14 20:19 UTC
From: eng at anrdaemon dot mtu-net dot ru Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.2 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eng at anrdaemon dot mtu-net dot ru
New email:
PHP Version: OS:

 

 [2003-06-25 16:41 UTC] eng at anrdaemon dot mtu-net dot ru
Description:
------------
When I installing a 4.3.2 release version after 4.3.1, all of my pages sent to the users as stored - no PHP processing done at all.
When I change configuration from

AddInputFilter PHP .php
AddOutputFilter PHP;INCLUDES .php

to

AddType application/x-httpd-php .php .php4

all pages works well, but this trick is NOT usable to me.
4.3.1 works well...
4.3.3RC1 works same as 4.3.2.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-26 12:54 UTC] eng at anrdaemon dot mtu-net dot ru
RTFM http://httpd.apache.org/docs-2.1/filter.html

Key words: "run-time configuration directives"
I can't use AddType in .htaccess files.
 [2003-07-27 13:21 UTC] iliaa@php.net
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

The default apache2 interface is apache2handler which is not a filter. It's directives are pretty much the same as php's apache directives for apache 1.

LoadModule php4_module        modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
 [2003-12-13 21:14 UTC] eng at anrdaemon dot mtu-net dot ru
Ok' tell me, can I use this directive in .htaccess file?
(I'm not stupid, if You think this)
 [2003-12-14 20:17 UTC] sniper@php.net
The apache2 sapi module in win32 is not filter, but handler..

 [2003-12-14 20:19 UTC] sniper@php.net
..and that was already mentioned by Ilia.
Anyway, you can't set these in .htaccess file. 
Please ask further support questions elsewhere as this is not support forum. (There is no bug here)

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 23:03:33 2022 UTC