From 1c61343f8b53f019043d04513876ea4a20f95671 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 30 Jan 2005 21:47:18 +0000 Subject: [PATCH] explain about persistent git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4488 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- config/config-dist.ini | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/config-dist.ini b/config/config-dist.ini index 47206961d..863a4ce77 100644 --- a/config/config-dist.ini +++ b/config/config-dist.ini @@ -198,13 +198,13 @@ MINOR_EDIT_TIMEOUT = 604800 ;ACCESS_LOG_SQL = 2 ; read + write ; By default PhpWiki will try to have PHP compress its output -; before sending it to the browser (if you have a recent enough -; version of PHP and the browser supports it.) +; before sending it to the browser, if you have a recent enough +; version of PHP and the browser and action supports it. ; Define COMPRESS_OUTPUT to false to prevent output compression. ; Define COMPRESS_OUTPUT to true to force output compression, ; even if we think your version of PHP does this in a buggy ; fashion. -; Leave it undefined to leave the choice up to PhpWiki. +; Leave it undefined to leave the choice up to PhpWiki. (Recommended) ; ; WARNING: Compressing the output has been reported to cause problems ; when PHP is running on MacOSX or on redirected requests. @@ -286,7 +286,7 @@ COOKIE_EXPIRATION_DAYS = 365 ; ADODB: uses the ADODB library for data access. (most general) ; dba: use one of the standard UNIX dbm libraries. (fastest) ; file: use a flat file database. (easiest) -; cvs: use a CVS server to store everything. (not recommended) +; cvs: use a CVS server to store everything. (experimental, not recommended) DATABASE_TYPE = dba ; prefix for filenames or table names @@ -303,7 +303,7 @@ DATABASE_TYPE = dba ; ; The most general form of a DSN looks like: ; -; dbtype(dbsyntax)://username:password@protocol+hostspec/database +; dbtype(dbsyntax)://username:password@protocol+hostspec/database?option=value&option2=value2 ; ; For a MySQL database, the following should work: ; @@ -320,6 +320,7 @@ DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test" ; Keep persistent connections: (mysql_pconnect, ...) ; Recommended is false for bigger servers, and true for small servers ; with not so many connections. postgresql: Please leave it false. Default: false +; Should really be set as database option in the DSN above. DATABASE_PERSISTENT = false ; A table to store session information. Only needed by SQL backends. -- 2.45.0