
在网站中提示Parse error: syntax error, unexpected end of file in * 的解决办法
出现此提示一般是因为PHP代码中使用了 缩短的PHP开始和结束标签
如:“ ?>”
将代码中的 ?>全部替换成
打开 php.ini ,找到 short_open_tag = Off 这一行,将 Off 修改为 On,保存退出并重启 Apache 即可解决问题

在网站中提示Parse error: syntax error, unexpected end of file in * 的解决办法
出现此提示一般是因为PHP代码中使用了 缩短的PHP开始和结束标签
如:“ ?>”
将代码中的 ?>全部替换成
打开 php.ini ,找到 short_open_tag = Off 这一行,将 Off 修改为 On,保存退出并重启 Apache 即可解决问题