mac php/phpstorm 配置

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

 

 

 

 

 

原文地址:https://www.cnblogs.com/sanmubai/p/11509764.html