Error message on my computer
Warning: session_start () [function. session-start]: Cannot send session cache limiter-headers already sent (output started at D: APMServ-v5.2.6APMServ5.2.6wwwhtdocsKingNerOAuserUserKqManage.php: 1) in D: APMServ-v5.2.6APMServ5.2.6wwwhtdocsKingNerOAusercheckaccess.php on line 2
The reason is that the previous output
Solution:
Modify session. auto_start = 0 in php. ini to session. auto_start = 1.
Output_buffering = changed to on or any number.
Solution in linux
Solution:
Method 1. Comment out/etc/php. ini
Session. save_path = "/var/lib/php/session"
Method 2: view the apache user and group, and add the user to the group in which the session folder is located.
Method 3: do not have any output before session_start!
Error 2
Warning: session_start () [function. session-start]: Cannot send session cache limiter-headers already sent (output started at E: phpcodeadmin. php: 1) in E: phpcodelogolistadminlogo. php on line 2
That is, the session variable requires the temporary space of the system.
Session. save_path = "set the absolute path of a valid folder"
(For example, session. save_path = "C: WINDOWStemp ")
Session. save_path = remove the ';' sign.
In addition, you can add EVERYONE to edit the folder with write and modification permissions!