PHP安裝Redis擴充教程,phpredis教程

來源:互聯網
上載者:User

PHP安裝Redis擴充教程,phpredis教程
安裝redis下載軟體包phpredis  https://github.com/nicolasff/phpredisuzip  master    #解壓得到 phpredis-mastercd  phpredis-master  #進入安裝目錄/www/wdlinux/php/bin/phpize  #用phpize產生configure設定檔./configure --with-php-config=/www/wdlinux/php/bin/php-config  #配置make  #編譯make install #安裝安裝完出現這個資訊

配置php支援vim /www/wdlinux/php/etc/php.ini添加  extension="redis.so"重啟下apache,在phpinfo()輸出的資訊中會顯示redis資訊表示成功

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.