PHP Session on Drupal
Posted by: iraszl
Posted on: 2005-06-28 10:23:00
Anyone running a Drupal site? Do you not have an issue with the Dreamhost PHP settings? I contacted the customer service at Dreamhost and this is the answer I got. I can't belive I really have to compile my own php scripts:
> If have a problem with following php settings:
> session.use_only_cookies Off Off
> session.use_trans_sid On On
>
> It should be the opposite, like this:
> session.use_only_cookies On Off
> session.use_trans_sid Off On
>
>
> I edited the php.ini file to change the setting:
> session.use_trans_sid=0
> session.use_only_cookies=1
>
> Also I tried to add this to .htaccess:
> php_value session.use_trans_sid 0
> php_value session.use_only_cookies 1
>
> But still can't override the default settings.
>
> It's very important because I'm getting page not found messages on my
> site because of this setting.
>
Answer:
Unfortunately we cannot change these settings for you in our global configuration files. If you need to have these settings you will have to compile PHP yourself, here are some instructions to get you going:
https://panel.dreamhost.com/kbase/index.cgi?area=2538