Bug #17234 Updated: setting short_open_tag in .htaccess does nothing

From: Date: Fri, 17 May 2002 07:45:40 +0000
Subject: Bug #17234 Updated: setting short_open_tag in .htaccess does nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7904@lists.php.net to get a copy of this message
ID: 17234 Updated by: jwoolley@php.net Reported By: php@rawhide.cjb.net Status: Open Bug Type: Apache2 related Operating System: Windows XP PHP Version: 4.2.1 New Comment: That last problem you mentioned ("Invalid command 'php_flag'") is fixed in CVS, just so you know. Previous Comments: ------------------------------------------------------------------------ [2002-05-15 19:28:19] php@rawhide.cjb.net 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. ------------------------------------------------------------------------ [2002-05-15 14:41:15] sander@php.net You need php_flag for on/off settings: php_flag short_open_tag off ------------------------------------------------------------------------ [2002-05-15 00:39:18] php@rawhide.cjb.net Sorry, module. I've tried other values such as display_errors and that changes fine. ------------------------------------------------------------------------ [2002-05-15 00:32:23] rasmus@php.net CGI or Apache module? The CGI version of PHP does not read .htaccess. ------------------------------------------------------------------------ [2002-05-14 23:45:19] php@rawhide.cjb.net 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

« previous php.bugs (#7904) next »