By janneand on
I have just signed up with a web hotel (http://www.clichehosting.com) to find that I cannot override the settings with .htaccess. I guess the most important setting there would be:
session.save_handler user
I have installed Drupal though and cannot see any problem with it. Why exactly is it required? Also I found somewhere that I can set the values in includes/conf.php like this:
ini_set("session.save_handler","user");
What difference would that make? I can't notice any difference at all.
Are there any other settings in .htaccess that are required?
Comments
The mod_rewrite section of
The mod_rewrite section of the htaccess file is needed if you want to use the clean url feature.
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
But I guess that part is
But I guess that part is optional, right? Is there any other non-optional need of hacking .htaccess and/or php.ini?
Yes, it is optional but I
Yes, it is optional but I would not want to miss it.
php_value magic_quotes_gpc 0
and
php_value arg_separator.output "&"
are also needed for correct working I think.
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
I have the following set in
I have the following set in my includes/conf.php:
Is there any way for me to see if this is working? Can I expect something not to work?
If overriding by ini_set is
If overriding by ini_set is allowed, then I do not see a problem. You could create a Drupal php page and let it print phpinfo. That should give the correct settings.
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
ini_set
Most of these settings will not work. For example, magic_quotes_gpc affects data before the script is run. Changing its value in your script does not alter the GPC data. However, this particular value is no problem because drupal works with magic_quotes_gpc on or off. This doesn't count for every option though.
Session handler 'user' is required for Drupal to use its own sessions table. Otherwise, PHP handles them, and various things related to sessions (e.g. statistics) will not work.