php Sessions write error suddenly on website
http://kb.parallels.com/en/115704
Step 1
cd /var/lib/php/ [root@austin php]# ls -la total 12 drwxr-xr-x 3 root root 4096 Apr 9 19:54 . drwxr-xr-x 37 root root 4096 Apr 24 23:41 .. drwx-wx-wt 2 apache apache 4096 Aug 5 20:01 session
Change the permissions and ownership
chmod 1733 /var/lib/php/session chown root:root /var/lib/php/session
Step 2
Check the yum update log for php updates as this is usually the cause of the permissions change.
[root@austin log]# grep php /var/log/yum.log Apr 09 19:54:09 Installed: php-5.3.3-27.el6_5.x86_64
This will give you the date and time of the last php update!