Home >Backend Development >PHP Tutorial >header session等各种本地和服务器有关问题

header session等各种本地和服务器有关问题

WBOY
WBOYOriginal
2016-06-13 10:12:57916browse

header session等各种本地和服务器问题
我用window7,使用PHP5+MYSQl+Apache开发,本地怎么用都可以,但是传到服务其上,就是不行,header也不起作用,session也不起作用。急急急

------解决方案--------------------
如果session start放在最前还不行,试试修改php.ini中的output_buffering=off改成output_buffering=4096 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn