M
MaxZ
Guest
Hey there,
I couldn't find a similar problem, so I'll just post away.
I'm running plesk 9.2.1 on openSUSE 11.0, most sites use PHP with FastCGI, and so do the ones I have problems with.
The (very odd) problem I have is as follows.
Occasionally, I get the following apache error when e.g. trying to log-in to some onlineshop I run:
BUT /tmp/ has permissions 777. And it works most of the time. Only sometimes I get the above error. After deleting my browsercookies, it works like a charm. I'm really stuck here.
Thanks !!!
Edit: I changed /etc/php5/fastcgi/php.ini in order to change the save_path to /tmp. It was /var/something before, which was not writeable by the fcgi users.
Which leads me to another problem: When using fastCGI, any configuration done in plesk (e.g. safe mode on or off) is ignored. Safe mode is off by default, the defaults in /etc/php5/fastcgi/php.ini are not changed by any of the pesk configs...
I couldn't find a similar problem, so I'll just post away.
I'm running plesk 9.2.1 on openSUSE 11.0, most sites use PHP with FastCGI, and so do the ones I have problems with.
The (very odd) problem I have is as follows.
Occasionally, I get the following apache error when e.g. trying to log-in to some onlineshop I run:
Code:
[Tue Jun 23 12:19:56 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start(): open(/tmp/sess_7jg5jjc31o0paietrb8hqlkkr1b7cp7v, O_RDWR) failed: Permission denied (13) in /srv/www/vhosts/example.com/httpdocs/x3/includes/application_top.php on line 300
[Tue Jun 23 12:19:56 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
BUT /tmp/ has permissions 777. And it works most of the time. Only sometimes I get the above error. After deleting my browsercookies, it works like a charm. I'm really stuck here.
Thanks !!!
Edit: I changed /etc/php5/fastcgi/php.ini in order to change the save_path to /tmp. It was /var/something before, which was not writeable by the fcgi users.
Which leads me to another problem: When using fastCGI, any configuration done in plesk (e.g. safe mode on or off) is ignored. Safe mode is off by default, the defaults in /etc/php5/fastcgi/php.ini are not changed by any of the pesk configs...
Last edited by a moderator: