From: dingoth at hotmail dot com Operating system: windows 2000 PHP version: 4.3.4 PHP Bug Type: Apache2 related Bug description: php_{flag,value,...} in .htaccess are ignored
Description: ------------ I have Apache 2.0.47, PHP 4.3.4, with virtual hosts under windows 2000. In every host, a .htaccess file is used to define its own include_path, prepend_file, append_file. The structure of my directory is like this one : (arena is a virtual host) H:\www\arena\htdocs << website H:\www\arena\includes << files to be included So, here is a common .htaccess source : <IfModule php4_module.c> php_value include_path ".;H:\www\arena\includes" php_value auto_prepend_file "prepend.php" php_value auto_append_file "append.php" </IfModule> So, when I call the following script within a page under my htdocs directory : <?php echo get_include_path(); ?> The webpage shows exactly .;D:\dev\php\includes . That line is the default include_path I use in my php.ini ! It would write .;H:\www\arena\includes because I asked it in the .htaccess file ! Reproduce code: --------------- <?php echo get_include_path(); ?> Expected result: ---------------- .;H:\www\arena\includes Actual result: -------------- .;D:\dev\php\includes -- Edit bug report at http://bugs.php.net/?id=26732&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26732&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26732&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26732&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26732&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26732&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26732&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26732&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26732&r=support Expected behavior: http://bugs.php.net/fix.php?id=26732&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26732&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26732&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26732&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26732&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26732&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26732&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26732&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26732&r=float