|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-14 23:45 UTC] php at rawhide dot cjb dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
That last problem you mentioned ("Invalid command 'php_flag'") is fixed in CVS, just so you know.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.