PHP 5.4和Apache 2.2我的所有网站都在工作,升级到php 5.5.30和apache 2.4后我在服务器上的每个域上的日志文件上收到这些错误消息
[25-Nov-2015 01:55:44 UTC] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/qa-include/ajax/asktitle.php:76) in /home/mysite/public_html/qa-include/app/users.php on line 146
[25-Nov-2015 01:55:44 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/qa-include/ajax/asktitle.php:76) in /home/mysite/public_html/qa-include/app/users.php on line 183
我应该在服务器上查看什么或在哪里查看?
一切设置正确????
答案 0 :(得分:0)
我的主人解决了这个问题, 不知何故,甚至在服务器php.ini中定义的会话路径将这个小的本地php.ini添加到域根目录
session.save_path = "/home/mysite/tmp"
解决了这个问题...