Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59
Sunday, October 22, 2017
 

Memcached Configuration

This chapter describes how to enable memcached support in gallery. Also explains configuration options regarding memcached.

Cache configuration section in settings.ini.php file.

This section can be found in settings/settings.ini.php file.

  • cache_global_key - this item describes global site cache key prepend. It's useful if server is running more than one gallery and uses same memcached instance. It should be unique per site. 
  • className - class name responsible for internal caching. Currently there are only one implementation "erLhcoreClassLhMemcache".

In order to enable caching className must be filled with class name.

'cacheEngine' => array(
        'cache_global_key'  => 'global_site_cache_key',
        'className'         => false //'erLhcoreClassLhMemcache' //false if none
    ),

Finding caching problems

If you see strange behavior you should restart memcached. :)

Back »

Comments: 0

Leave a reply »

 
  • Leave a Reply
    Your gravatar
    Your Name
     
     
     
     
 
About HPPG

High performance photo gallery dedicated for large numbers of image storage.

Get in touch

Donate



Download