Php5 fpm sessions /tmp
Got me to thinking about the /tmp folder with multiple domains. drwxrwxrwt root root /tmp/ doesn't seem like it would let the individual domains to read/write to it, only root. The sites all run as different socket names. In each domain.conf, they all define evn[TMP] = /tmp. Should these have unique folders closer to their www root. So something like this in each domain.conf evn[TMP]= /srv/www/domain.com/tmp, then each site would have permissions to read/write to their own tmp folders.
10 Replies
drwxrwxrwt root root /tmp/
means it's world writable. Also wordpress doesn't use PHP sessions so tmp isn't your problem.
Are your wordpress/php cookie domain settings correct?
@obs:
drwxrwxrwt root root /tmp/
means it's world writable. Also wordpress doesn't use PHP sessions so tmp isn't your problem.
Are your wordpress/php cookie domain settings correct?
How do I confirm this? I can see there are cookies in firebug and they have values. I've disabled php apc and varnish and issue remains. Cookie path says /.
But a javascript cookie test works fine, I can set and get the value.