I re-installed and upgrade my ubuntu version from Ubuntu 13.04 to 13.10 then I installed apache2 and php.
The problem is that I have php scripts that begins with <?
but now these scripts only work if I change <?
to <?php
. How can I make that php work with <?
?

开始php脚本的符号
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- douzhaocheng4533 2013-10-24 15:02关注
You need to set the option
short_open_tag
to1
(true) in your php.ini and it should work fine.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报