Coder Social home page Coder Social logo

danepowell / memcache-settings Goto Github PK

View Code? Open in Web Editor NEW

This project forked from acquia/memcache-settings

0.0 2.0 0.0 116 KB

Recommended default Memcache settings for use with Acquia Cloud hosting.

License: GNU General Public License v2.0

PHP 100.00%

memcache-settings's Introduction

Acquia Memcache settings

This is a Composer package providing a recommended set of Memcache settings for use with Acquia Cloud and Acquia Cloud Site Factory.

These settings are continuously updated based on the publicly available documentation.

Installation and usage

To use these settings, you must already have configured a Composer-based Drupal project. Especially, ensure that your root composer.json includes the Drupal packagist repository and Drupal-specific installer paths. Then require this package via Composer:

composer require acquia/memcache-settings

Finally, you must include the provided memcache.settings.php in your own settings.php file (for Acquia Cloud) or post-settings-php hook (for Acquia Cloud Site Factory):

$repo_root = dirname(DRUPAL_ROOT);
$memcacheSettingsFile = $repo_root . '/vendor/acquia/memcache-settings/memcache.settings.php';
if (file_exists($memcacheSettingsFile)) {
  require $memcacheSettingsFile;
}

Note that if you use Acquia BLT, this step is unnecessary as BLT will automatically include this file.

License

Copyright (C) 2019 Acquia, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

memcache-settings's People

Contributors

danepowell avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.