php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39899 php_flag and php_value do not work with filter module
Submitted: 2006-12-20 12:37 UTC Modified: 2006-12-20 14:51 UTC
From: gk at gknw dot de Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.2.0 OS: NetWare
Private report: No CVE-ID: None
 [2006-12-20 12:37 UTC] gk at gknw dot de
Description:
------------
I have compiled PHP 5.2.0 for NetWare platform with both the mod_php filter and handler modules.
If I use php_flag or php_value on a per directory base then it works fine when I use the handler module, but the filter module doesnt honor it.
I have compiled both modules with PHP_AP_DEBUG defined, and I can see with both modules that the setting gets processed, but it simply doesnt get applied finally with the filter module.
I wanted to compare with the Windows 5.2.0 build, but unfortunately there the provided filter module doesnt load at all; and all Linux boxes I have access to dont have 5.2.0 yet - so I'm someehat lost with further testing unless I go and compile self on Linux. Can please someone do a quick test on Linux if it works there with httpd threaded (that's what we have to use on NetWare) + filter module?
Thanks!

Reproduce code:
---------------
use f.e. in a .htaccess or in directory block:
php_flag magic_quotes_gpc 1
php_value upload_max_filesize "8M"


Expected result:
----------------
settings get applied with filter module as they get applied with handler module.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-20 12:41 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-12-20 14:51 UTC] gk at gknw dot de
Thanks a bunch for you very fast reply Tony!
I've downloaded the CVS snapshot, and only compiled the apache2filter module inside my PHP 5.2.0 release dir, and that did successfully fix the issue!

thanks again! Have the bug self closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC