T ToolBox Basic Pleskian Dec 7, 2011 #1 The plesk does need to be disabled selinux? because i have a problem about fastcgi mode php session problem.
The plesk does need to be disabled selinux? because i have a problem about fastcgi mode php session problem.
IgorG Plesk addicted! Plesk Certified Professional Dec 7, 2011 #2 Plesk shipped with psa-selinux package. This package modifies the SELinux predefined policies configurations to allow Plesk to perform its actions.
Plesk shipped with psa-selinux package. This package modifies the SELinux predefined policies configurations to allow Plesk to perform its actions.
T ToolBox Basic Pleskian Dec 8, 2011 #3 How to fix for session problem use with fastCGI mode i have a session problem use with fastCGI mode. error_log mod_fcgid: stderr: PHP Warning: session_start(): open(/var/lib/php/session/sess_c78e27e94a5d4cc9135a11e0f176b62e, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/domain.com/httpdocs/111128/lib/Pocket/class/Controller.php on line 210, referer: http://domain.com/111128/ no errors, if disabled selinux.
How to fix for session problem use with fastCGI mode i have a session problem use with fastCGI mode. error_log mod_fcgid: stderr: PHP Warning: session_start(): open(/var/lib/php/session/sess_c78e27e94a5d4cc9135a11e0f176b62e, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/domain.com/httpdocs/111128/lib/Pocket/class/Controller.php on line 210, referer: http://domain.com/111128/ no errors, if disabled selinux.
IgorG Plesk addicted! Plesk Certified Professional Dec 8, 2011 #4 Usually this is caused by lack of permissions for session file. For example: # grep ^session.save_path /etc/php.ini session.save_path = "/var/lib/php/session" Click to expand... Set session.save_path to /usr/tmp or /tmp and restart Apache. Alternatively change permissiongs for /var/lib/php/session: # chmod 4777 /var/lib/php/session Click to expand...
Usually this is caused by lack of permissions for session file. For example: # grep ^session.save_path /etc/php.ini session.save_path = "/var/lib/php/session" Click to expand... Set session.save_path to /usr/tmp or /tmp and restart Apache. Alternatively change permissiongs for /var/lib/php/session: # chmod 4777 /var/lib/php/session Click to expand...
T ToolBox Basic Pleskian Dec 8, 2011 #5 chmod ok... but # chmod 4777 /var/lib/php/session php session works fine but,,,,,4777 is not default. The degree of change likely to cause problems in the version of php. The fundamental solution or not?
chmod ok... but # chmod 4777 /var/lib/php/session php session works fine but,,,,,4777 is not default. The degree of change likely to cause problems in the version of php. The fundamental solution or not?