Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Trouble disabling suhosin encrypt on server

Trouble disabling suhosin encrypt on server

Locked

Views: 3,680

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Feb 2010, 7:03 AM
#1
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Trouble disabling suhosin encrypt on server

Hi, I have the " whoops session expired" syndrome.
On searching the forum, i came across a fix a .htaccess file

Code:

php_flag suhosin.session.encrypt off

i asked my host if it was alright to place this file in the root dir?
They've replied with this:
"As per suggested, suhosin.session.encrypt has been disabled for your domain."
My question is, will this do the same as the .htaccess file, and will harm Zen-cart operation?

My host is; eukhost
The site is installed on a linux server

Many thanks for in advance for you assistance

Soul39

9 Feb 2010, 8:53 AM
#2
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Trouble disabling suhosin encrypt on server

Weii, after they did their stuff, i tested the site, went through a checkout, no "whoops" , so, i guess everything is ok for now.
But, should i still place the .htaccess file in the root dir, will it stop this from ever happening again.

code:
php_flag suhosin.session.encrypt off

Soul39

9 Feb 2010, 2:28 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Trouble disabling suhosin encrypt on server

Soul39:

But, should i still place the .htaccess file in the root dir, will it stop this from ever happening again.
You could, but it would be unnecessary if your host has already taken care of it for you.

9 Feb 2010, 7:08 PM
#4
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: Trouble disabling suhosin encrypt on server

That (.htaccess) will only work if you are using mod_php which you can find out by going into

admin > Server version/ info

if you see anything that mentioned php-cgi or fast-cgi or suExec (possiblly mod_suPHP), then you would need a php.ini file in every folder where php was running and that is if the host allowed you that option. You'd need to be able to copy the main host's php.ini too (it would be listed in the version info) and you may not have access to that file due to security restrictions.

Matt.

9 Feb 2010, 11:42 PM
#5
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Trouble disabling suhosin encrypt on server

Yes,
but, what if they tinker again, and the problem reoccurs?
Is it not best to have something in place to prevent it?

Matt,
all that sounds a bit complicated, mate. So, i guess i will leave as is, if it's not broken, and all that.
But, i will try to have a look at the server info you mentioned.

Soul39