Error message: Wrong ‘suhosin.session.encrypt’ option value and it wasn’t possible to set it to required value (0). Check your PHP configuration
Scenario: It happened while running the web installer of roundcube on a server which had i-mscp installed on it.
#cd / #find . -iname suhosin\.ini ./etc/php5/conf.d/suhosin.ini
Now find out the required value:
#grep -in 'suhosin\.session\.encrypt' ./etc/php5/conf.d/suhosin.ini 50:;suhosin.session.encrypt = on
Change the “;” (semicolon) in front of line 50, and change “on” to “off”.
#service apache2 restart Restarting web server: apache2 ... waiting ....
Now, retry the roundcube installer. It works now.
suhosin.session.encrypt option value is incorrect
One issue is that on some systems the Roundcube installation procedure gives an error saying that the suhosin.session.encrypt option value is incorrect (it should be disabled) even though it says it is disabled in php.ini. The suhosin settings have their own php.ini configuration file in /etc/php5/apache2/conf.d/suhosin.ini which overrides the settings in the default php.ini. Change the line containing the suhosin.session.encrypt option in this file to disable it (and don’t forget to uncomment the line by removing the leading semicolon), then restart the web server and run the Roundcube installer again.
Note the difference in file path of suhosin.ini.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.