PHP Memcached Client
github.com/boxunphp/memcached
Source
Issues
Installs: 20
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
Suggests
None
Provides
Conflicts
Replaces
MIT e95c86797cfc34c3714ae76f00af457f07e64e8a
This package is auto-updated.
Last update: 2024-11-09 09:29:14 UTC
<?php $config = array( 'servers' => array( array('host' => '192.168.0.1', 'port' => 11211, 'weight' => 50), array('host' => '192.168.0.2', 'port' => 11211, 'weight' => 50), ), 'connect_timeout' => 1000, // 单位微秒 ); $mc = Memcached::getInstance($config);