Hi,
Using RC 0.85, linux, mysql, upgrading our servers, successfully from apache 2.4,3 to 2.4.4, now preparing to move our servers from php 5.3.22 to 5.4.12 and we have a problem, RC fails to login reporting "invalid session data" when we restart with 5.4.12.
We completely disabled suhosin, even temporarily removed open base restrictions and our list of disable functions so it has cart blanch access to everything, but no go.
Whats we see logged in errors file is:
PHP Warning: session_write_close(): Failed to write session data ( user). Please verify that the current setting of session.save_path is correct (/var/spool/phpsessions/) in /opt/webmail/program/include/rcmail.php on line 1340
Yes the save path is correct, exists and correct permissions, after all, it works fine with php 5.3.x
in apache vhost conf we have: php_admin_value session.save_path "/var/spool/phpsessions/"
Besides that, even the system fallback default in php.ini is /var/spool/phpsessions
I must be missing something so blatantly obvious, but a code jockey I am not.
Is there a trick to getting RC going with 5.4.x ?
Thanks Niki
On Tue, 2013-02-26 at 10:24 +1000, Nick Edwards wrote:
We completely disabled suhosin, even temporarily removed open base restrictions and our list of disable functions so it has cart blanch access to everything, but no go.
Are you sure you disabled suhosin? Did you comment it out or just use simulation?
You'll find simulation is broken on current git, just tried the same upgrade on my dev box and only commenting out suhosin resolves the matter, I've fired off an email to Steffan, but, php 5.4.x is in "initial stages", so you might want to delay that upgrade.
php 5.4 is, IMHO, still immature software, and not suitable for large production use, frankly, not enough QC work before releases, but php are not alone in this, some other pretty well known software devs are more interested in "release often" than "release-quality".
Seems you're correct, I did not comment it out, when doing that, it work, but that's not secure so maybe I should keep to 5.3.22
On 2/26/13, Noel Butler noel.butler@ausics.net wrote:
On Tue, 2013-02-26 at 10:24 +1000, Nick Edwards wrote:
We completely disabled suhosin, even temporarily removed open base restrictions and our list of disable functions so it has cart blanch access to everything, but no go.
Are you sure you disabled suhosin? Did you comment it out or just use simulation?
You'll find simulation is broken on current git, just tried the same upgrade on my dev box and only commenting out suhosin resolves the matter, I've fired off an email to Steffan, but, php 5.4.x is in "initial stages", so you might want to delay that upgrade.
php 5.4 is, IMHO, still immature software, and not suitable for large production use, frankly, not enough QC work before releases, but php are not alone in this, some other pretty well known software devs are more interested in "release often" than "release-quality".
Am 26.02.2013 01:24, schrieb Nick Edwards:
Hi,
Using RC 0.85, linux, mysql, upgrading our servers, successfully from apache 2.4,3 to 2.4.4, now preparing to move our servers from php 5.3.22 to 5.4.12 and we have a problem, RC fails to login reporting "invalid session data" when we restart with 5.4.12.
We completely disabled suhosin, even temporarily removed open base restrictions and our list of disable functions so it has cart blanch access to everything, but no go.
Whats we see logged in errors file is:
PHP Warning: session_write_close(): Failed to write session data ( user). Please verify that the current setting of session.save_path is correct (/var/spool/phpsessions/) in /opt/webmail/program/include/rcmail.php on line 1340
confirmed and since here are running millions lines of code which all are using sessions this must be a RC bug
and no - suhosin is not a problem for roundcube before PHP 5.4 suhosin is not a problem for any other app with PHP 5.4
why in the world needs roundcube to touch the sessiondir in case of configured db-sessionhandler?
$rcmail_config['session_storage'] = 'db';
[26-Feb-2013 14:28:34 Europe/Vienna] PHP Warning: session_write_close() [<a href='http://at.php.net/manual/de/function.session-write-close.php'>function.session-write-close.php</a>]: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/www/sessiondata) in /usr/share/roundcubemail/program/include/rcmail.php on line 1340
Am 26.02.2013 14:25, schrieb Reindl Harald:
Am 26.02.2013 01:24, schrieb Nick Edwards:
Hi,
Using RC 0.85, linux, mysql, upgrading our servers, successfully from apache 2.4,3 to 2.4.4, now preparing to move our servers from php 5.3.22 to 5.4.12 and we have a problem, RC fails to login reporting "invalid session data" when we restart with 5.4.12.
We completely disabled suhosin, even temporarily removed open base restrictions and our list of disable functions so it has cart blanch access to everything, but no go.
Whats we see logged in errors file is:
PHP Warning: session_write_close(): Failed to write session data ( user). Please verify that the current setting of session.save_path is correct (/var/spool/phpsessions/) in /opt/webmail/program/include/rcmail.php on line 1340
confirmed and since here are running millions lines of code which all are using sessions this must be a RC bug
and no - suhosin is not a problem for roundcube before PHP 5.4 suhosin is not a problem for any other app with PHP 5.4