1. <ul id="0c1fb"></ul>

      <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
      <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区

      RELATEED CONSULTING
      相關(guān)咨詢(xún)
      選擇下列產(chǎn)品馬上在線溝通
      服務(wù)時(shí)間:8:30-17:00
      你可能遇到了下面的問(wèn)題
      關(guān)閉右側(cè)工具欄

      新聞中心

      這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
      PHP升級(jí)到5.5.11版本

      1.首先升級(jí)yum install libmcrypt-devel

      創(chuàng)新互聯(lián)建站主要從事網(wǎng)頁(yè)設(shè)計(jì)、PC網(wǎng)站建設(shè)(電腦版網(wǎng)站建設(shè))、wap網(wǎng)站建設(shè)(手機(jī)版網(wǎng)站建設(shè))、自適應(yīng)網(wǎng)站建設(shè)、程序開(kāi)發(fā)、網(wǎng)站優(yōu)化、微網(wǎng)站、小程序定制開(kāi)發(fā)等,憑借多年來(lái)在互聯(lián)網(wǎng)的打拼,我們?cè)诨ヂ?lián)網(wǎng)網(wǎng)站建設(shè)行業(yè)積累了豐富的成都網(wǎng)站建設(shè)、網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)、網(wǎng)絡(luò)營(yíng)銷(xiāo)經(jīng)驗(yàn),集策劃、開(kāi)發(fā)、設(shè)計(jì)、營(yíng)銷(xiāo)、管理等多方位專(zhuān)業(yè)化運(yùn)作于一體。

      2.安裝php

      wget http://br1.php.net/get/php-5.5.11.tar.gz/from/this/mirror

      tar zxvf php-5.5.11.tar.gz && cd php-5.5.11

      ./configure --prefix=/usr/local/php_5.5.11 --with-config-file-path=/usr/local/php_5.5.11/etc --with-MySQL=/usr/local/mysql --with-mysqli=mysqlnd --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl=/usr/local --without-curlwrappers --enable-mbregex --enable-fpm --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets  --with-xmlrpc --enable-zip --enable-soap  --without-pear --enable-zip --with-bz2 --enable-calendar --enable-ftp --enable-ctype --enable-exif --disable-ipv6 --with-sqlite3 --disable-pdo --disable-phar
      make ZEND_EXTRA_LIBS='-liconv'
      make install

      cp sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm
      chmod +x /etc/init.d/php-fpm
      mkdir -p /usr/local/php_5.5.11/log
      mkdir -p /usr/local/php_5.5.11/logs/
      echo '/usr/local/mysql/lib/' > /etc/ld.so.conf.d/mysql.conf
      ldconfig
      3. 安裝memcached擴(kuò)展
      cd ..

      wget https://launchpad.net/libmemcached/1.0/1.0.14/+download/libmemcached-1.0.14.tar.gz

      rm -rf libmemcached-1.0.14
      tar zxf libmemcached-1.0.14.tar.gz  && cd libmemcached-1.0.14
      ./configure --prefix=/usr/local/libmemcached --with-memcached --disable-sasl
      make && make install
      提示錯(cuò)誤:

      ./libmemcached-1.0/memcached.h:46:27: error: tr1/cinttypes: No such file or directory
      make[1]: *** [libmemcached/libmemcached_libmemcached_la-allocators.lo] Error 1
      make[1]: *** Waiting for unfinished jobs....
      make[1]: Leaving directory `/tools/libmemcached-1.0.14'
      make: *** [all] Error 2

      libmemcached-1.0.14需要升級(jí)gcc、gcc++,否則編譯編譯失敗
      yum install gcc44 gcc44-c++ libstdc++44-devel
      export CC=/usr/bin/gcc44
      export CXX=/usr/bin/g++44

      再執(zhí)行

      ./configure --prefix=/usr/local/libmemcached --with-memcached --disable-sasl
      make && make install


      wget http://pecl.php.net/get/memcached-2.1.0.tgz
      rm -rf memcached-2.1.0
      tar zxvf memcached-2.1.0.tgz && cd memcached-2.1.0
      /usr/local/php_5.5.11/bin/phpize
      ./configure --with-php-config=/usr/local/php_5.5.11/bin/php-config --enable-memcached --enable-memcached-json
      yes|cp -r ../php-5.5.11/ext/json/ /usr/local/php_5.5.11/include/php/ext/
      make && make install
      提示錯(cuò)誤:
      make: *** [php_memcached.lo] Error 1
      因此需要指定libmemcached路徑:
      ./configure --with-php-config=/usr/local/php_5.5.11/bin/php-config --enable-memcached --enable-memcached-json -with-libmemcached-dir=/usr/local/libmemcached

      make && make install

      4.安裝tokyo_tyrant擴(kuò)展

      wget http://pecl.php.net/get/tokyo_tyrant-0.7.0.tgz
      tar zxvf tokyo_tyrant-0.7.0.tgz
      cd tokyo_tyrant-0.7.0 && /usr/local/php_5.5.11/bin/phpize && ./configure --with-php-config=/usr/local/php_5.5.11/bin/php-config --with-tokyo-tyrant=/usr/local --with-tokyo-cabinet-dir=/usr/local && make && make install

      5.安裝redis擴(kuò)展
      wget http://******/phpredis-nicolasff-20121217.tar.gz
      tar zxvf phpredis-nicolasff-20121217.tar.gz
      cd phpredis-master/ && /usr/local/php_5.5.11/bin/phpize
      ./configure --with-php-config=/usr/local/php_5.5.11/bin/php-config --enable-redis && make && make install  


      新聞名稱(chēng):PHP升級(jí)到5.5.11版本
      轉(zhuǎn)載來(lái)于:http://www.ef60e0e.cn/article/pshhhc.html
      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区
      1. <ul id="0c1fb"></ul>

        <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
        <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

        府谷县| 察隅县| 南华县| 平谷区| 册亨县| 九龙城区| 潮安县| 盐源县| 临潭县| 罗城| 彭水| 玛曲县| 米易县| 上饶县| 肇源县| 邮箱| 汉沽区| 西贡区| 乐平市| 崇州市| 桐乡市| 嘉祥县| 兴义市| 青海省| 秭归县| 安徽省| 娱乐| 盐津县| 罗山县| 镇宁| 都昌县| 诸暨市| 根河市| 怀集县| 定安县| 泗洪县| 台中市| 泸定县| 郁南县| 铁力市| 收藏|