运行PHP程序时,报错:
Warning: Cannot modify header information - headers already sent by (output started at...
方法:找到php.ini ,然后查找:output_buffering 。
将
output_buffering = Off
修改为:
output_buffering = On
然后重启Apache:
service httpd restart
运行PHP程序时,报错:
Warning: Cannot modify header information - headers already sent by (output started at...
方法:找到php.ini ,然后查找:output_buffering 。
将
output_buffering = Off
修改为:
output_buffering = On
然后重启Apache:
service httpd restart
© 2024 阿蒙的礼物