久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos系統(tǒng)如何為php安裝memcached擴(kuò)展

      centos系統(tǒng)如何為php安裝memcached擴(kuò)展

      1.通過(guò)yum安裝

      代碼如下:

      yum -y install memcached #安裝完成后執(zhí)行: memcached -h #出現(xiàn)memcached幫助信息說(shuō)明安裝成功

      2. 加入啟動(dòng)服務(wù)

      代碼如下:

      chkconfig --level 2345 memcached on

      3. 配置Memcached

      代碼如下:

      vim /etc/sysconfig/memcached #文件中內(nèi)容如下,按需要修改: PORT="11211" #端口 USER="root" #用戶名 MAXCONN="1024" #最大連接數(shù) CACHESIZE="64" #內(nèi)存大小 OPTIONS="" #附加參數(shù)

      4. 安裝libmemached

      代碼如下:

      wget https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz tar -zxvf libmemcached-1.0.16.tar.gz cd libmemcached-1.0.16 ./configure -prefix=/usr/local/libmemcached -with-memcached make && make install

      5. 安裝php-devel

      代碼如下:

      yum install php-devel

      6. 安裝PHP Memcached擴(kuò)展

      代碼如下:

      wget http://pecl.php.net/get/memcached-2.1.0.tgz tar -zxvf memcached-2.1.0.tgz cd memcached-2.1.0 /usr/local/php/bin/phpize ./configure -enable-memcached -with-php-config=/usr/local/php/bin/php-config -with-zlib-dir -with-libmemcached-dir=/usr/local/libmemcached -prefix=/usr/local/phpmemcached make && make install

      相關(guān)學(xué)習(xí)推薦:PHP編程從入門到精通

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)