简体   繁体   English

升级到PHP 5.5.30和Apache 2.4 Session eror后

[英]After upgrading to Php 5.5.30 and Apache 2.4 Session eror

Php 5.4 and Apache 2.2 all my website were working, after upgrading to php 5.5.30 and apache 2.4 I am getting these error message on log file on every domain on the server 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

What should I check on the server or where do I look at? 我应该在服务器上检查什么或在哪里看?

Session info from phpinfo() 来自phpinfo()的会话信息

Everything set correctly???? 一切设置正确吗????

Well my host fixed the problem, Somehow, even session path defined in server php.ini adding this little local php.ini to the domain root with 好吧,我的主机解决了这个问题,无论如何,甚至将服务器php.ini中定义的会话路径添加到了域根目录中,

 session.save_path = "/home/mysite/tmp" 

fixed this problem... 解决了这个问题...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM