Login | Register
My pages Projects Community openCollabNet

Discussions > users > PHP ini configuration values

Discussion topic

Back to topic list

PHP ini configuration values

Author jonleighton
Full name Jonathan Leighton
Date 2006-04-01 09:39:02 PST
Message Currently, for coWiki to work, there need to be a few PHP configuration
values set. In the distribution, this is done using the php_value
directive in .htaccess. However, this only works when running PHP using
mod_php. People using PHP as a CGI are advised to edit php.ini. This can
be a problem as it affects all PHP websites, no just coWiki (as far as I
know), and also the user may not have access privileges to do so. I've
solved the problem by using:

    ini_set('include_path', '.:../includes/cowiki');
    ini_set('session.auto_start', 0);
    ini_set('session.use​_trans_sid', 0);

in the top of the relevant PHP files under htdocs/. This works fine. Is
there a reason not to do this, and if not, perhaps it could be added?
(It'd be better to refactor that into a separate ini_set.php file or



« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

PHP ini configuration values jonleighton Jonathan Leighton 2006-04-01 09:39:02 PST
Messages per page: