Home  >  Article  >  Backend Development  >  PHP标签<php ?>怎么能只写<>

PHP标签<php ?>怎么能只写<>

WBOY
WBOYOriginal
2016-06-13 13:49:311003browse

PHP标签如何能只写?>
原来机器上只要写?>就可以了,换了台机器却一定要写,是哪里配置一下就可以吗,还是版本的不同
原来是PHP 4.3.22, 现在是5.2.4

------解决方案--------------------
short_open_tag = On
------解决方案--------------------
php.ini 中short_open_tag = On

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn