ID: 17234 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Apache2 related Operating System: Windows XP PHP Version: 4.2.1 New Comment:
Error message: <directory>/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration. This isn't bogus yet. Previous Comments: ------------------------------------------------------------------------ [2002-05-15 14:41:15] [EMAIL PROTECTED] You need php_flag for on/off settings: php_flag short_open_tag off ------------------------------------------------------------------------ [2002-05-15 00:39:18] [EMAIL PROTECTED] Sorry, module. I've tried other values such as display_errors and that changes fine. ------------------------------------------------------------------------ [2002-05-15 00:32:23] [EMAIL PROTECTED] CGI or Apache module? The CGI version of PHP does not read .htaccess. ------------------------------------------------------------------------ [2002-05-14 23:45:19] [EMAIL PROTECTED] Entering a value for short_open_tag in the .htaccess file achieves nothing. Example: php_value short_open_tag X Where X is 0, 1, off, on, true, false, etc. Executing phpinfo() will reveal the local value does not change from the master value, whether the master value is on or off. I'd like to keep short_open_tag on for the majority of sites I'm running on my server but there is one in particular making use of XML which I want to disable short_open_tag for. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17234&edit=1