亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

php中安裝redis擴(kuò)展的步驟

Original 2019-04-05 12:43:32 320
abstract:windows上安裝1、下載redis的windows版本zip版(redis官方?jīng)]有windows版,社區(qū)有)https://github.com/MicrosoftArchive/redis/releases2、啟動(dòng)redis:進(jìn)入cmd,redis-server.exe redis.windows.conf注意:該方式啟動(dòng)后cmd窗口不能關(guān)閉。3、msi方式:下載windows的msi安裝包

windows上安裝
1、下載redis的windows版本zip版(redis官方?jīng)]有windows版,社區(qū)有)
https://github.com/MicrosoftArchive/redis/releases
2、啟動(dòng)redis:進(jìn)入cmd,redis-server.exe redis.windows.conf
注意:該方式啟動(dòng)后cmd窗口不能關(guān)閉。

3、msi方式:下載windows的msi安裝包,雙擊安裝,將redis作為windows服務(wù)安裝
安裝后不會(huì)產(chǎn)生cmd窗口,redis在windows中以服務(wù)形式存在

linux上安裝
1、下載:http://pecl.php.net/get/redis-4.0.2.tgz
2、解壓:tar  -zxvf  redis-4.0.2.tgz
3、進(jìn)入redis擴(kuò)展目錄:cd  redis-4.0.2
4、生成配置:/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
5、編譯:make
6、安裝:make install
7、配置php.ini文件,添加:extension = redis.so
8、保存退出,重啟apache/nginx
9、使用phpinfo查看redis擴(kuò)展是否安裝成功

Correcting teacher:西門大官人Correction time:2019-04-08 09:45:56
Teacher's summary:最好自己總結(jié),復(fù)制粘貼課件就失去了作業(yè)的目的和意義了

Release Notes

Popular Entries