We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.8.4.1. PHPMemcacheAdmin

(Requirements: PHP 5.2+)

The PHPMemcacheAdmin application allows you to monitor Memcache memory load using its own web interface.

To install PHPMemcacheAdmin, do the following:

  1. Connect to hosting via SSH.
  2. Change to the directory where you want to place the Memcache (d) manager using the command:
    cd ~/example.com/subdomain/dir/ 

    Instead example.com/subdomain/dir specify the desired path.

  3. Run the command to install the manager to the current working directory:
    git clone https://github.com/elijaa/phpmemcachedadmin .
  4. Produce customization connections to Memcache (d).

To add the Memcache (d) server in the manager, do the following:

  1. Change to the directory where PHPMemcacheAdmin was installed and open the file Config/Memcache.php.
  2. In the file, specify the configuration without changes:
    <?php
    return array (
      'stats_api' => 'Server',
      'slabs_api' => 'Server',
      'items_api' => 'Server',
      'get_api' => 'Server',
      'set_api' => 'Server',
      'delete_api' => 'Server',
      'flush_all_api' => 'Server',
      'connection_timeout' => '1',
      'max_item_dump' => '100',
      'refresh_rate' => 2,
      'memory_alert' => '80',
      'hit_rate_alert' => '90',
      'eviction_alert' => '0',
      'file_path' => 'Temp/',
      'servers' => array (
        'Default' => array (
          explode("/",__DIR__)[2] => array (
            'hostname' => 'unix:///home/' . explode("/",__DIR__)[2] . '/.system/memcache/socket',
            'port' => '0',
          )
        ),
      ),
    );