php网站出现Cannot modify header information问题的解决方法 - 鼎峰VPS 帮助中心
php网站出现Cannot modify header information问题的解决方法
文章分类: [Windows] 发布时间:2013-9-22 12:02 Sunday 浏览(592)

问题:

Warning: Cannot modify header information - headers already sent by....

解决方法:
查找网上解决此问题的方法多是一样的,不过今天又遇到了这样的问题。试过之后发现可行: 
找到php.ini 这个配置文件,然后查找一项:output_buffering将其值由原来的off改为on,重新启动Apache或IIS就ok了。