改了 short_open_tag = On [Portability] ; Using short tags is discouraged when developing code meant for redistribution ; since short tags may not be supported on the target server.;;;;;;;;;;;;;;;;;;;; ; Language Options ; ;;;;;;;;;;;;;;;;;;;;; Enable the PHP scripting language engine under Apache. engine = On; Enable compatibility mode with Zend Engine 1 (PHP 4.x) zend.ze1_compatibility_mode = on; 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
windows里的 php.ini 你再打开看看是否真的更改了?
不知道你有没有保存(+_p)
short_open_tag = On [Portability]
; Using short tags is discouraged when developing code meant for redistribution
; since short tags may not be supported on the target server.;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;; Enable the PHP scripting language engine under Apache.
engine = On; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = on; 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