php version 7.0
redis 下载地址 https://pecl.php.net/package/redis
7.0版本的redis不再依赖php_igbinary.dll扩展,可以独立运行
路径最好是绝对路径
php cig的端口不要和phpstorm监听端口一致,否则会造成端口冲突
php.ini
error_log = C:phpStudyphp53nlogsphp_errors.log
extension_dir = "ext"
cgi.force_redirect = 1
cgi.rfc2616_headers = 0
allow_url_include = On
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_ftp.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
extension=php_pdo_sqlite.dll
extension=php_redis.dll
[xdebug]
zend_extension = C:phpStudyphp53nextphp_xdebug-2.6.1-7.0-vc14-nts-x86_64.dll
xdebug.idekey=PHPSTORM
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port = 9100
xdebug.remote_handler = dbgp
phpstorm