PHP code example of easyswoole / memcache

1. Go to this page and download the library: Download easyswoole/memcache library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

easyswoole / memcache example snippets




defined('MEMCACHE_HOST') or define('MEMCACHE_HOST', '127.0.0.1');
defined('MEMCACHE_PORT') or define('MEMCACHE_PORT', 11211);