brew install php
memcached
brew install memcached
brew install libmemcached
brew install pkg-config
brew install zlib
pecl install memcached
xdebug
//pecl uninstall xdebug
pecl install xdebug
php.ini
zend_extension=xdebug.so
[XDebug]
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=8700
xdebug.idekey="PHPSTORM"
phpStrom
来源:oschina
链接:https://my.oschina.net/u/4303276/blog/4289956