[Resolved] Fastcgi session problem plesk 9.2.2 and php 5.3.8
I have had wordpress sites runniing beautifully – php 5.1.8 using fastcgi safe mode off on a linux installed with Plesk.
As wordpress now requires me to update php – I did so. But now I cannot use php sessions. This is because when using fastcgi php runs with permissions of the domains FTP user. PHP configuration php.ini states default session path:
~# grep session.save_path /etc/php.ini
session.save_path = “/var/lib/php/session”
Default permissions for the directory is 770:
~# ls -ld /var/lib/php/session
drwxrwx— 2 root apache 65536 Dec 16 07:48 /var/lib/php/session
This states that only root/apache members are allowed to write in the sessions directory. This means that customer who run php in cgi cannot use sessions.
The workaround for this was to change permissions for directory /var/lib/php/session to 777. That nolonger works when php is upgraded to 5.3.8. I just get a white screen with no errors in error.log
I have tried everything I can think of to get sessions working… HELP!
- The topic ‘[Resolved] Fastcgi session problem plesk 9.2.2 and php 5.3.8’ is closed to new replies.