[Phpslash-commit] CVS: phpslash-dev/public_html config-dist.ini.php,1.16,1.17
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2004-10-20 22:05:32
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23207 Modified Files: config-dist.ini.php Log Message: added new options for jpcache.cachedir. but commented them out Index: config-dist.ini.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.ini.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** config-dist.ini.php 20 Oct 2004 12:19:57 -0000 1.16 --- config-dist.ini.php 20 Oct 2004 22:05:22 -0000 1.17 *************** *** 174,186 **** ;; jpcache ;; ! ;; jpcache.enable - valid values = off, internal, static ! ;; ! ;; off - no output cache done ! ;; internal - output cache using either database or file storage ;; static - output cache written as html files to the basedir. ;; ! ;; static cache warning: This mechanism writes the html cache files ;; to the basedir by default. This can be a security risk on servers that ! ;; php writes files using a common user/group. ;; ;; This option should only be used where the files created are owned by --- 174,187 ---- ;; jpcache ;; ! ;; jpcache.enable - valid values = mysql, file, static, memcache, off ! ;; mysql - output to mysql ! ;; file - uses file system to cache (could be /dev/shm/ see jpcache.cachedir below) ;; static - output cache written as html files to the basedir. + ;; memcache - uses memcache module to cache to RAM disk (needs to be installed separately. http://www.danga.com/memcached/) + ;; off - no output cache done [default] ;; ! ;; STATIC CACHE WARNING: This mechanism writes the html cache files ;; to the basedir by default. This can be a security risk on servers that ! ;; php writes files using the webserver's common user/group. ;; ;; This option should only be used where the files created are owned by *************** *** 188,192 **** ;; other way. ;; ! jpcache.enable = internal ;;; --- 189,201 ---- ;; other way. ;; ! jpcache.enable = off ! ! ;; jpcache.cachedir - valid values = /path/to/cache ! ;; ! ;; This is needed only if you set jpcache.enable to static or files. ! ;; TIP: if running on *NIX, you can set this to /dev/shm/cache to cache ! ;; files directly on RAM. ! ;jpcache.cachedir = /dev/shm/cache ! ;;; |