summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist7
-rw-r--r--php.ini-recommended7
2 files changed, 12 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 2994d30234..34d3b86032 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -67,7 +67,12 @@
; Enable the PHP scripting language engine under Apache.
engine = On
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.
diff --git a/php.ini-recommended b/php.ini-recommended
index d47b3f1aa9..9b378fb96d 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -80,7 +80,12 @@
; Enable the PHP scripting language engine under Apache.
engine = On
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.