Home > Backend Development > PHP Tutorial > mac系统下载memcache,该怎么解决

mac系统下载memcache,该怎么解决

WBOY
Release: 2016-06-13 12:25:42
Original
862 people have browsed it

mac系统下载memcache
PHP5.6的 要学习memcache  请问在哪里下载
系统是mac
要在thinkPHP 里面用memcache
thinkphp也是最新的版本
------解决思路----------------------
参考:http://www.tuicool.com/articles/2yM7Z3

1.使用一行命令安装依赖管理工具 Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.安装扩展
brew install php56-memcache php56-memcached

3.安装Memcache
brew install memcached
启动/停止指令

memcached -d
killall memcached
加入开机启动

cp /usr/local/Cellar/memcached/1.4.20/homebrew.mxcl.memcached.plist ~/Library/LaunchAgents/

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template