htaccess support for PHP

Allow one to use htaccess-like file to configure PHP
per directory, just like apache's htaccess. It is especially useful with fastcgi (ISS5/6/7, lighttpd, etc.).
This package was originally developed by Bart Vanbrabant. Old versions are available

License: PHP License

This package is not maintained, if you would like to take over please go to this page.

Latest releases

Version Release Download
1.0.1 2012-03-01 htscanner-1.0.1.tgz
1.0.0 2011-02-01 htscanner-1.0.0.tgz
0.9.0 2009-03-04 htscanner-0.9.0.tgz
0.8.1 2007-03-23 htscanner-0.8.1.tgz
0.8.0 2007-03-20 htscanner-0.8.0.tgz
Show all releases


Version Message
1.0.1 - Fixed NULL pointer dereference when CLI server does not
define sapi_module.getenv.
- #22607, adapted apache module to provide dummy php_flag and
php_value directives for Apache 2.x API. See mod_htscanner2.c provided
with the package
- #22608, made example in README more explicit with regarding to IfModule
1.0.0 - #19019, added support for scanning apache UserDir
- #19078, made php_flag behavior consistent with apache
- #19066, call zend at htaccess stage. Fixes crashes for some
settings (e.g. zlib.output_compression) and gains security (checks
- #19168, #18886, #17067, #16891, rewritten htscanner parser code.
All known parsing problems have been fixed
- Added support for IfModule directive
- Fixed mail.log safe_mode and open_basedir bypass
- Plugged serious memory leaks in the caching code
- Don't cache if default_ttl is zero
- Unlock mutex after actually using name and value
- Implemented apache module to provide dummy php_flag and php_value
directives. See mod_htscanner.c provided with the package
- Added htscanner.verbose option that disables warnings when an option
cannot be set
- Fixed build on PHP trunk
- Assorted improvements and code cleanup
0.9.0 - allow all configuration options by using the SAPI hook
- #11959, fix value parsing when other empty chars are used than space (tabs)
- #13190, Setting a value with php_value strips the last character
- #14487, quotes and double quotes not parsed correctly
Thanks to m dot kurzyna at crystalpoint dot pl, manuel at mausz dot at for
their patches and patience :)
0.8.1 - #10426, safe_mode throws warnings about missing .htaccess
- #10432, warning while blocking php_value safe_mode (Matthew Kent)
0.8.0 - Initial PHP4 support
Thanks to widexs ( to fund php4 support
Show complete changelog