[php-maint] Bug#668053: [php5-common] php.ini-production does not actually have production values
Filipus Klutiero
chealer at gmail.com
Sun Apr 8 15:56:56 UTC 2012
Package: php5-common
Version: 5.4.1~rc1-1
Severity: normal
/usr/share/php5/php.ini-production contains:
> ; This directive determines whether or not PHP will recognize code between
> ; <? and ?> tags as PHP source which should be processed as such. It's
> been
> ; recommended for several years that you not use the short tag "short
> cut" and
> ; instead to use the full <?php and ?> tag combination. With the wide
> spread use
> ; of XML and use of these tags by other languages, the server can
> become easily
> ; confused and end up parsing the wrong code in the wrong context. But
> because
> ; this short cut has been a feature for such a long time, it's
> currently still
> ; supported for backwards compatibility, but we recommend you don't
> use them.
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
> ; http://php.net/short-open-tag
> short_open_tag = On
The actual value isn't the production value. The actual value also
differs from upstream's:
> ; This directive determines whether or not PHP will recognize code between
> ;<? and ?> tags as PHP source which should be processed as such. It's been
> ; recommended for several years that you not use the short tag "short cut" and
> ; instead to use the full<?php and ?> tag combination. With the wide spread use
> ; of XML and use of these tags by other languages, the server can become easily
> ; confused and end up parsing the wrong code in the wrong context. But because
> ; this short cut has been a feature for such a long time, it's currently still
> ; supported for backwards compatibility, but we recommend you don't use them.
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
> ; http://php.net/short-open-tag
> short_open_tag = Off
http://git.php.net/?p=php-src.git;a=blob_plain;f=php.ini-production;h=ee830c3692d34d7b9683527a55ae218b5a9a9207;hb=refs/heads/PHP-5.4
This is just an example.
More information about the pkg-php-maint
mailing list