C语言 c++ php mysql nginx linux lnmp lamp lanmp memcache redis 面试 笔记 ppt 设计模式 问题 远程连接

让zend studio 支持 redis函数自动提示

 

phpredis作者https://github.com/nicolasff/phpredis 写了文档https://github.com/ukko/phpredis-phpdoc
上面提到了如何让eclipse有自动提示功能(zend一样):

 

1、Open "Window" -> "Preferences"
2、In preferences dialog open "PHP" -> "PHP Libriaries"
3、Click "New" button, in "User library name" enter "Redis", click "OK"
4、Select newly created "Redis", library Click "Add external folder", select path to the folder which contains your checkout of phpredis-phpdoc or you can download single "Redis.php" file https://raw.github.com/ukko/phpredis-phpdoc/master/src/Redis.php
Include your custom library in your project: open "Project" -> "Properties" -> "PHP Include Path", click add library, select "User library", click "Next", check "Redis", click "Finish"

 

1、添加phplibrary

 

2、在自己的项目中引入library

 

posted on 2014-03-23 12:40  思齐_  阅读(1098)  评论(1编辑  收藏  举报