[pmwiki-users] How to optimize php.ini
celok at gmx.net
Tue Sep 5 10:30:35 CDT 2006
Thanks for the answer, and sorry for (possibly) sending this twice.
Actually i haven't received it once by now, that was the reason for
sending it twice in the first place :)
Am 05.09.2006 um 17:18 schrieb Patrick R. Michaud:
> On Tue, Sep 05, 2006 at 03:16:40PM +0200, Tom Lederer wrote:
>> Due to the recent affairs, i wondered if someone of greater knowledge
>> could tip me how to set the options (those i can) in php.ini to use
>> pmwiki at its best.
>> Here are the options i can influence in php.ini:
> Here's my suggestions:
> session.auto_start Off
> session.use_cookies On
> session.use_trans_sid Off
> magic_quotes_runtime Off 
> magic_quotes_gpc Off 
> register_globals Off 
> display_errors On for debugging, Off for production 
> session.cookie_lifetime 0
> 1. The setting for magic_quotes_runtime generally doesn't matter;
> PmWiki forces magic_quotes_runtime to 'off' when it runs.
> 2. Similarly, the actual setting of magic_quotes_gpc isn't important,
> as PmWiki knows how to accommodate either setting.
> 3. Register globals should always be off, if at all possible.
> 4. Generally I leave the php.ini setting for this alone, and manually
> set the value of display_errors in local/config.php if I'm
> interested in troubleshooting a problem.
> ini_set('display_errors', 0); # disable error display
> ini_set('display_errors', 1); # enable error display
> Hope this helps,
More information about the pmwiki-users