我试图用简写打开和closures标签来configurationnginx。
目前下面的代码工作,例如:
<?php include('this.php'); ?>
但是这不是:
<? include('this.php'); ?>
有没有办法configuration这个,所以它可以工作吗?
在php.ini中设置short_open_tag = On并重新启动Web服务器
short_open_tag = On
您必须在php.ini中启用打开的短标签