My website won't save PHP sessions properly, I originally posted on it in SO, but it's increasingly looking like a server issue. So, I figured I would re-phrase the question here.
Why would this PHP server config fail to save and retrieve sessions?
One of the key symptoms seems to be that PHP is not creating any files in /var/lib/php/session
. Here are the current permissions form the server:
$ ls -al /var/lib/php/session/
total 28
drwxrwx--- 2 root apache 24576 Jul 20 13:30 .
drwxr-xr-x 3 root root 4096 Jul 20 13:30 ..
Here are some test URLs. This first link creates a session array and prints the output, the second just prints session output, but unfortunately it's blank.
http://barbadospropertylist.com/wp-content/plugins/gravitymeta/test.php?name=value
http://barbadospropertylist.com/wp-content/plugins/gravitymeta/test.php