#17234 [Opn->Fbk]: setting short_open_tag in .htaccess does nothing
| From: | derick@php.net | Date: | Mon, 16 Sep 2002 15:34:36 +0000 |
| Subject: | #17234 [Opn->Fbk]: setting short_open_tag in .htaccess does nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19467@lists.php.net to get a copy of this message | ||
ID: 17234
Updated by: derick@php.net
Reported By: php@rawhide.cjb.net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-09-05 11:35:08] gbenson@redhat.com
I'm seeing this problem too, and it only seems to effect
short_open_tag. In my setup, /etc/php.ini says:
register_globals = Off
short_open_tag = Off
and I have the following in a file which is included by httpd.conf:
<Directory /foo/bar/baz>
php_value register_globals 1
php_value short_open_tag 1
</Directory>
A phpinfo() in /foo/bar/baz/phpinfo.php says:
Directive Local value Global value
register_globals On Off
short_open_tag Off Off
ie, php_value worked for register_globals but not for short_open_tag.
------------------------------------------------------------------------
[2002-05-17 03:45:39] jwoolley@php.net
That last problem you mentioned ("Invalid command 'php_flag'") is fixed
in CVS, just so you know.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17234
--
Edit this bug report at http://bugs.php.net/?id=17234&edit=1