From: [EMAIL PROTECTED] Operating system: RH Linux 7.3 PHP version: 4.3.0-pre2 PHP Bug Type: Apache2 related Bug description: .htaccess config settings ignored
Hi there, This is something I believe I've encountered before (having briefly installed an earlier 4.3.0 snapshot) and now just stumbled over again after upgrading from 4.2.3 to 4.3.0pre2 under Apache2 on Linux. (It may have been the reason I dropped back to 4.2.3 then, IIRC.) Basically, I'm noticing that a significant number of PHP configuration settings in my .htaccess file(s) are being ignored entirely -- settings that worked fine under 4.2.3 (and earlier) and which have remained unmodified. This problem may very well be related to bug #17234. Given this .htaccess snippet: php_flag register_globals off php_flag log_errors on php_flag display_errors on php_flag display_startup_errors on php_flag session.use_trans_sid off php_value include_path ".:/var/www/site/_include" php_value auto_prepend_file "global.php" php_value error_log "/var/www/site/_log/php_error_log.txt" I've determined that only log_errors, display_errors, display_startup_errors, include_path, and error_log are accepted -- the rest are ignored as if they were not specified at all (but can be set in php.ini). A brief test also showed that asp_tags and short_open_tag (as in bug #17234) were ignored in htaccess too. I don't think I'm doing anything wrong, but any suggestions as to a workaround are greatly appreciated -- I depend on these htaccess overrides (particularly auto_prepend_file) and can't move to 4.3.x until they're working flawlessly (in a backward-compatible way with 4.0.x+)... Thanks! -- Edit bug report at http://bugs.php.net/?id=20217&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20217&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20217&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20217&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20217&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20217&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20217&r=support Expected behavior: http://bugs.php.net/fix.php?id=20217&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20217&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20217&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20217&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20217&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20217&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20217&r=isapi
