Php.ini, short_open_tag Açık olarak ayarlı.
short_open_tag = On
Dokümanlar:
short_open_tag boolean
Tells whether the short form (<? ?>
)
of PHP's open tag should be
allowed. If you want to use PHP in
combination with XML, you can disable
this option in order to use <?xml ?>
inline. Otherwise, you can print it
with PHP, for example: <?php echo
'<?xml version="1.0"'; ?>
. Also if
disabled, you must use the long form
of the PHP open tag (<?php ?>
).
Edit:
short_open_tag
o (php.ini. Htaccess, script) yerde değiştirilebilir anlamına gelir, PHP_INI_ALL as of 5.3.0 olduğunu. Ve o php.ini ve. Htaccess ayarlanabilir demektir 5.3.0 önce PHP_INI_PERDIR oldu. Eğer sunucu kontrol bile nedenle, çoğu durumda kendi değerini değiştirebilirsiniz.
Ancak, bu ayar varsayılan olarak kapalıdır. Eğer komut dağıtmak için gidiyoruz, bu kutunun dışında çoğu tesis çalışmaz. Bu durumda, bir arama / <?php
iyi bir fikir geçmek için değiştirin.