博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
***phpredis扩展安装总结
阅读量:6417 次
发布时间:2019-06-23

本文共 58288 字,大约阅读时间需要 194 分钟。

phpredis扩展安装总结: PHP扩展安装在[root@iZ254lfyd6nZ lampp]# cd include  目录下 创建一个目录phpredis 下载扩展:wget https://github.com/nicolasff/phpredis/archive/master.tar.gz 解压:[root@iZ254lfyd6nZ phpredis]# tar xvf master.tar.gz 运行:[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/bin/phpize 安装GCC,避免下面的报错: [root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/bin/phpize Configuring for: PHP Api Version:         20131106 Zend Module Api No:      20131226 Zend Extension Api No:   220131226 [root@iZ254lfyd6nZ phpredis-master]# ./configure --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... no checking for gcc... no configure: error: in `/opt/lampp/include/php/ext/phpredis/phpredis-master': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [root@iZ254lfyd6nZ phpredis-master]# yum -y install gcc 运行: [root@iZ254lfyd6nZ phpredis-master]# ./configure --with-php-config=/opt/lampp/bin/php-config 编译+安装: [root@iZ254lfyd6nZ phpredis-master]# make && make install 重启WEB服务器: [root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp stopapache XAMPP: Stopping Apache...ok. [root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp startapache 还有去配置PHP.ini的支持:

extension_dir = "/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226"

extension=redis.so

--------------------------------------  日志:
Welcome to aliyun Elastic Compute Service![root@iZ254lfyd6nZ ~]# lshello.txt  test-conf  xm-cron[root@iZ254lfyd6nZ ~]# cd /[root@iZ254lfyd6nZ /]# lsbin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var[root@iZ254lfyd6nZ /]# redis-server --version-bash: redis-server: command not found[root@iZ254lfyd6nZ /]# src/redis-server --version-bash: src/redis-server: No such file or directory[root@iZ254lfyd6nZ /]# cd root[root@iZ254lfyd6nZ ~]# lshello.txt  test-conf  xm-cron[root@iZ254lfyd6nZ ~]# cd root-bash: cd: root: No such file or directory[root@iZ254lfyd6nZ ~]# redis-cli-bash: redis-cli: command not found[root@iZ254lfyd6nZ ~]# redis-server-bash: redis-server: command not found[root@iZ254lfyd6nZ ~]# cd opt-bash: cd: opt: No such file or directory[root@iZ254lfyd6nZ ~]# lshello.txt  test-conf  xm-cron[root@iZ254lfyd6nZ ~]# lshello.txt  test-conf  xm-cron[root@iZ254lfyd6nZ ~]# cd /[root@iZ254lfyd6nZ /]# lsbin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var[root@iZ254lfyd6nZ /]# cd opt[root@iZ254lfyd6nZ opt]# lslampp  rh  xampp-linux-x64-5.6.3-0-installer.run[root@iZ254lfyd6nZ opt]# cd /[root@iZ254lfyd6nZ /]# lsbin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var[root@iZ254lfyd6nZ /]# cd usr[root@iZ254lfyd6nZ usr]# lsbin  etc  games  include  lib  lib64  libexec  local  sbin  share  src  tmp[root@iZ254lfyd6nZ usr]# cd local[root@iZ254lfyd6nZ local]# lsaegis  bin  etc  games  include  lib  lib64  libexec  redis  redis-2.8.12.tar.gz  sbin  share  src[root@iZ254lfyd6nZ local]# cd redis[root@iZ254lfyd6nZ redis]# ls00-RELEASENOTES  CONTRIBUTING  deps      INSTALL   MANIFESTO  redis.conf  runtest-sentinel  src    utilsBUGS             COPYING       dump.rdb  Makefile  README     runtest     sentinel.conf     tests[root@iZ254lfyd6nZ redis]# cd src[root@iZ254lfyd6nZ src]# lsadlist.c     aof.o        db.o           intset.h      mkreleasehdr.sh  rand.c             redis-check-dump    replication.o   sha1.h          t_list.o      ziplist.oadlist.h     asciilogo.h  debug.c        intset.o      multi.c          rand.h             redis-check-dump.c  rio.c           sha1.o          t_set.c       zipmap.cadlist.o     bio.c        debug.o        lzf_c.c       multi.o          rand.o             redis-check-dump.o  rio.h           slowlog.c       t_set.o       zipmap.hae.c         bio.h        dict.c         lzf_c.o       networking.c     rdb.c              redis-cli           rio.o           slowlog.h       t_string.c    zipmap.oae_epoll.c   bio.o        dict.h         lzf_d.c       networking.o     rdb.h              redis-cli.c         scripting.c     slowlog.o       t_string.o    zmalloc.cae_evport.c  bitops.c     dict.o         lzf_d.o       notify.c         rdb.o              redis-cli.o         scripting.o     solarisfixes.h  t_zset.c      zmalloc.hae.h         bitops.o     endianconv.c   lzf.h         notify.o         redisassert.h      redis.h             sds.c           sort.c          t_zset.o      zmalloc.oae_kqueue.c  config.c     endianconv.h   lzfP.h        object.c         redis-benchmark    redis.o             sds.h           sort.o          util.cae.o         config.h     endianconv.o   Makefile      object.o         redis-benchmark.c  redis-sentinel      sds.o           syncio.c        util.hae_select.c  config.o     fmacros.h      Makefile.dep  pqsort.c         redis-benchmark.o  redis-server        sentinel.c      syncio.o        util.oanet.c       crc64.c      help.h         memtest.c     pqsort.h         redis.c            release.c           sentinel.o      testhelp.h      valgrind.supanet.h       crc64.h      hyperloglog.c  memtest.o     pqsort.o         redis-check-aof    release.h           setproctitle.c  t_hash.c        version.hanet.o       crc64.o      hyperloglog.o  migrate.c     pubsub.c         redis-check-aof.c  release.o           setproctitle.o  t_hash.o        ziplist.caof.c        db.c         intset.c       migrate.o     pubsub.o         redis-check-aof.o  replication.c       sha1.c          t_list.c        ziplist.h[root@iZ254lfyd6nZ src]# redis-server-bash: redis-server: command not found[root@iZ254lfyd6nZ src]# cd ..[root@iZ254lfyd6nZ redis]# ls00-RELEASENOTES  CONTRIBUTING  deps      INSTALL   MANIFESTO  redis.conf  runtest-sentinel  src    utilsBUGS             COPYING       dump.rdb  Makefile  README     runtest     sentinel.conf     tests[root@iZ254lfyd6nZ redis]# src/redis-server[26373] 26 Jun 15:43:20.447 # Warning: no config file specified, using the default config. In order to specify a config file use src/redis-server /path/to/redis.conf[26373] 26 Jun 15:43:20.448 # Creating Server TCP listening socket *:6379: bind: Address already in use[root@iZ254lfyd6nZ redis]# src/redis-cli127.0.0.1:6379> dbsize(integer) 0127.0.0.1:6379> pingPONG127.0.0.1:6379> set name "tanglei"OK127.0.0.1:6379> get name"tanglei"127.0.0.1:6379> get name"tanglei"127.0.0.1:6379> quit[root@iZ254lfyd6nZ redis]# cd /[root@iZ254lfyd6nZ /]# lsbin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var[root@iZ254lfyd6nZ /]# cd usr[root@iZ254lfyd6nZ usr]# lsbin  etc  games  include  lib  lib64  libexec  local  sbin  share  src  tmp[root@iZ254lfyd6nZ usr]# cd local[root@iZ254lfyd6nZ local]# lsaegis  bin  etc  games  include  lib  lib64  libexec  redis  redis-2.8.12.tar.gz  sbin  share  src[root@iZ254lfyd6nZ local]# cd bin[root@iZ254lfyd6nZ bin]# ls[root@iZ254lfyd6nZ bin]# cd ..[root@iZ254lfyd6nZ local]# lsaegis  bin  etc  games  include  lib  lib64  libexec  redis  redis-2.8.12.tar.gz  sbin  share  src[root@iZ254lfyd6nZ local]# cd /[root@iZ254lfyd6nZ /]# lsbin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var[root@iZ254lfyd6nZ /]# cd opt[root@iZ254lfyd6nZ opt]# lslampp  rh  xampp-linux-x64-5.6.3-0-installer.run[root@iZ254lfyd6nZ opt]# cd lampp[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# cd php[root@iZ254lfyd6nZ php]# lsman[root@iZ254lfyd6nZ php]# cd bin-bash: cd: bin: No such file or directory[root@iZ254lfyd6nZ php]# lsman[root@iZ254lfyd6nZ php]# cd ..[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# cd bin[root@iZ254lfyd6nZ bin]# lsa2p             dbilogstrip      gen_php_doc.sh            libpng-config      mysqlaccess.conf            pear              pstruct             tiffdumpab              dbiprof          genrb                     listaction         mysqladmin                  peardev           ptar                tiffinfoannotate        dbiproxy         GET                       listaction_d       mysqlbinlog                 pearinfo          ptardiff            tiffmedianapachectl       dbl2png          gettext                   listfdb            mysqlbug                    pecl              ptargrep            tiffsetapr-1-config    dbmmanage        gettextize                listjpeg           mysqlcheck                  perl              ras2tiff            tiffsplitapreq2-config   defncopy         gettext.sh                listmp3            mysql_client_test           perl5.16.3        raw2adpcm           toeapu-1-config    derb             gif2tiff                  listswf            mysql_client_test_embedded  perlbug           raw2tiff            tputapxs            djpeg            giftogd2                  listswf_d          mysql_config                perldoc           rdjpgcom            tsetautopoint       enc2xs           h2ph                      logresolve         mysql_config_editor         perlivp           recode-sr-latin     tsqlbdftogd         envsubst         h2xs                      lwp-download       mysql_convert_table_format  perlthanks        replace             uconvbison           envvars          HEAD                      lwp-mirror         mysqld_multi                perror            reset               unzip-membmp2tiff        envvars-std      htcacheclean              lwp-request        mysqld_safe                 phar              resolveip           unzzipbsqldb          fax2ps           htdbm                     lwp-rget           mysqldump                   phar.phar         resolve_stack_dump  unzzipcatbunzip2         fax2tiff         htdigest                  makeconv           mysqldumpslow               php               rgb2ycbcr           unzzipcat-membzcat           fcgistarter      html_template_phplibtool  makefdb            mysql_embedded              php-5.6.3         rotatelogs          unzzipcat-seekobzcmp           find2perl        htpasswd                  makeswf            mysql_find_rows             php-cgi           s2p                 unzzipdirbzdiff          fisql            httpd                     ming-config        mysql_fix_extensions        php-cgi-5.6.3     sabcmd              unzzipdir-membzegrep         fix_rights       httxt2dbm                 mp2bug             mysqlhotcopy                php-config        sablot-config       wcmgrbzfgrep         flex             iconv                     msgattrib          mysqlimport                 php-config-5.6.3  shasum              webalizerbzgrep          flex++           icu-config                msgcat             mysql_install_db            phpize            splain              webazolverbzip2           freebcp          icuinfo                   msgcmp             mysql_plugin                phpize-5.6.3      sqlite              webpngbzip2recover    freetype-config  infocmp                   msgcomm            mysql_secure_installation   phpunit           sqlite3             wrjpgcombzless          ftpasswd         infotocap                 msgconv            mysql.server                piconv            suexec              xgettextbzmore          ftpcount         innochecksum              msgen              mysql_setpermission         pkgdata           swftocxx            xml2-configc2ph            ftpdctl          instmodsh                 msgexec            mysqlshow                   pl2pm             swftoperl           xmlcatalogcaptoinfo       ftpmail          jpegtran                  msgfilter          mysqlslap                   png2dbl           swftophp            xmllintcheckgid        ftpquota         json_pp                   msgfmt             mysqltest                   pngtogd           swftopython         xmlwfcjpeg           ftptop           ldapadd                   msggrep            mysqltest_embedded          pngtogd2          swftotcl            xslt-configclear           ftpwho           ldapcompare               msginit            mysql_tzinfo_to_sql         pod2html          tabs                xsltprocconfig_data     gd2copypal       ldapdelete                msgmerge           mysql_upgrade               pod2latex         tdspool             xsubppcorelist        gd2togif         ldapexop                  msgunfmt           mysql_waitpid               pod2man           thumbnail           yacccpan            gd2topng         ldapmodify                msguniq            mysql_zap                   pod2text          tic                 yshcpan2dist       gdcmpgif         ldapmodrdn                msql2mysql         ncurses5-config             pod2usage         tiff2bw             zipdetailscpanp           gdlib-config     ldappasswd                myisamchk          ngettext                    podchecker        tiff2pdf            zzcatcpanp-run-perl  gdparttopng      ldapsearch                myisam_ftdump      openssl                     podselect         tiff2ps             zzdircrc32           gdtopng          ldapurl                   myisamlog          osql                        POST              tiff2rgba           zzxorcatc_rehash        genbrk           ldapwhoami                myisampack         pal2rgb                     ppm2tiff          tiffcmp             zzxorcopycurl            gencfu           libmcrypt-config          my_print_defaults  pcre-config                 prove             tiffcp              zzxordircurl-config     gencnval         libnetcfg                 mysql              pcregrep                    prxs              tiffcropdatacopy        genctd           libpng15-config           mysqlaccess        pcretest                    psed              tiffdither[root@iZ254lfyd6nZ bin]# cd php-5.6.3-bash: cd: php-5.6.3: Not a directory[root@iZ254lfyd6nZ bin]# lsa2p             dbilogstrip      gen_php_doc.sh            libpng-config      mysqlaccess.conf            pear              pstruct             tiffdumpab              dbiprof          genrb                     listaction         mysqladmin                  peardev           ptar                tiffinfoannotate        dbiproxy         GET                       listaction_d       mysqlbinlog                 pearinfo          ptardiff            tiffmedianapachectl       dbl2png          gettext                   listfdb            mysqlbug                    pecl              ptargrep            tiffsetapr-1-config    dbmmanage        gettextize                listjpeg           mysqlcheck                  perl              ras2tiff            tiffsplitapreq2-config   defncopy         gettext.sh                listmp3            mysql_client_test           perl5.16.3        raw2adpcm           toeapu-1-config    derb             gif2tiff                  listswf            mysql_client_test_embedded  perlbug           raw2tiff            tputapxs            djpeg            giftogd2                  listswf_d          mysql_config                perldoc           rdjpgcom            tsetautopoint       enc2xs           h2ph                      logresolve         mysql_config_editor         perlivp           recode-sr-latin     tsqlbdftogd         envsubst         h2xs                      lwp-download       mysql_convert_table_format  perlthanks        replace             uconvbison           envvars          HEAD                      lwp-mirror         mysqld_multi                perror            reset               unzip-membmp2tiff        envvars-std      htcacheclean              lwp-request        mysqld_safe                 phar              resolveip           unzzipbsqldb          fax2ps           htdbm                     lwp-rget           mysqldump                   phar.phar         resolve_stack_dump  unzzipcatbunzip2         fax2tiff         htdigest                  makeconv           mysqldumpslow               php               rgb2ycbcr           unzzipcat-membzcat           fcgistarter      html_template_phplibtool  makefdb            mysql_embedded              php-5.6.3         rotatelogs          unzzipcat-seekobzcmp           find2perl        htpasswd                  makeswf            mysql_find_rows             php-cgi           s2p                 unzzipdirbzdiff          fisql            httpd                     ming-config        mysql_fix_extensions        php-cgi-5.6.3     sabcmd              unzzipdir-membzegrep         fix_rights       httxt2dbm                 mp2bug             mysqlhotcopy                php-config        sablot-config       wcmgrbzfgrep         flex             iconv                     msgattrib          mysqlimport                 php-config-5.6.3  shasum              webalizerbzgrep          flex++           icu-config                msgcat             mysql_install_db            phpize            splain              webazolverbzip2           freebcp          icuinfo                   msgcmp             mysql_plugin                phpize-5.6.3      sqlite              webpngbzip2recover    freetype-config  infocmp                   msgcomm            mysql_secure_installation   phpunit           sqlite3             wrjpgcombzless          ftpasswd         infotocap                 msgconv            mysql.server                piconv            suexec              xgettextbzmore          ftpcount         innochecksum              msgen              mysql_setpermission         pkgdata           swftocxx            xml2-configc2ph            ftpdctl          instmodsh                 msgexec            mysqlshow                   pl2pm             swftoperl           xmlcatalogcaptoinfo       ftpmail          jpegtran                  msgfilter          mysqlslap                   png2dbl           swftophp            xmllintcheckgid        ftpquota         json_pp                   msgfmt             mysqltest                   pngtogd           swftopython         xmlwfcjpeg           ftptop           ldapadd                   msggrep            mysqltest_embedded          pngtogd2          swftotcl            xslt-configclear           ftpwho           ldapcompare               msginit            mysql_tzinfo_to_sql         pod2html          tabs                xsltprocconfig_data     gd2copypal       ldapdelete                msgmerge           mysql_upgrade               pod2latex         tdspool             xsubppcorelist        gd2togif         ldapexop                  msgunfmt           mysql_waitpid               pod2man           thumbnail           yacccpan            gd2topng         ldapmodify                msguniq            mysql_zap                   pod2text          tic                 yshcpan2dist       gdcmpgif         ldapmodrdn                msql2mysql         ncurses5-config             pod2usage         tiff2bw             zipdetailscpanp           gdlib-config     ldappasswd                myisamchk          ngettext                    podchecker        tiff2pdf            zzcatcpanp-run-perl  gdparttopng      ldapsearch                myisam_ftdump      openssl                     podselect         tiff2ps             zzdircrc32           gdtopng          ldapurl                   myisamlog          osql                        POST              tiff2rgba           zzxorcatc_rehash        genbrk           ldapwhoami                myisampack         pal2rgb                     ppm2tiff          tiffcmp             zzxorcopycurl            gencfu           libmcrypt-config          my_print_defaults  pcre-config                 prove             tiffcp              zzxordircurl-config     gencnval         libnetcfg                 mysql              pcregrep                    prxs              tiffcropdatacopy        genctd           libpng15-config           mysqlaccess        pcretest                    psed              tiffdither[root@iZ254lfyd6nZ bin]# cd php-bash: cd: php: Not a directory[root@iZ254lfyd6nZ bin]# lsa2p             dbilogstrip      gen_php_doc.sh            libpng-config      mysqlaccess.conf            pear              pstruct             tiffdumpab              dbiprof          genrb                     listaction         mysqladmin                  peardev           ptar                tiffinfoannotate        dbiproxy         GET                       listaction_d       mysqlbinlog                 pearinfo          ptardiff            tiffmedianapachectl       dbl2png          gettext                   listfdb            mysqlbug                    pecl              ptargrep            tiffsetapr-1-config    dbmmanage        gettextize                listjpeg           mysqlcheck                  perl              ras2tiff            tiffsplitapreq2-config   defncopy         gettext.sh                listmp3            mysql_client_test           perl5.16.3        raw2adpcm           toeapu-1-config    derb             gif2tiff                  listswf            mysql_client_test_embedded  perlbug           raw2tiff            tputapxs            djpeg            giftogd2                  listswf_d          mysql_config                perldoc           rdjpgcom            tsetautopoint       enc2xs           h2ph                      logresolve         mysql_config_editor         perlivp           recode-sr-latin     tsqlbdftogd         envsubst         h2xs                      lwp-download       mysql_convert_table_format  perlthanks        replace             uconvbison           envvars          HEAD                      lwp-mirror         mysqld_multi                perror            reset               unzip-membmp2tiff        envvars-std      htcacheclean              lwp-request        mysqld_safe                 phar              resolveip           unzzipbsqldb          fax2ps           htdbm                     lwp-rget           mysqldump                   phar.phar         resolve_stack_dump  unzzipcatbunzip2         fax2tiff         htdigest                  makeconv           mysqldumpslow               php               rgb2ycbcr           unzzipcat-membzcat           fcgistarter      html_template_phplibtool  makefdb            mysql_embedded              php-5.6.3         rotatelogs          unzzipcat-seekobzcmp           find2perl        htpasswd                  makeswf            mysql_find_rows             php-cgi           s2p                 unzzipdirbzdiff          fisql            httpd                     ming-config        mysql_fix_extensions        php-cgi-5.6.3     sabcmd              unzzipdir-membzegrep         fix_rights       httxt2dbm                 mp2bug             mysqlhotcopy                php-config        sablot-config       wcmgrbzfgrep         flex             iconv                     msgattrib          mysqlimport                 php-config-5.6.3  shasum              webalizerbzgrep          flex++           icu-config                msgcat             mysql_install_db            phpize            splain              webazolverbzip2           freebcp          icuinfo                   msgcmp             mysql_plugin                phpize-5.6.3      sqlite              webpngbzip2recover    freetype-config  infocmp                   msgcomm            mysql_secure_installation   phpunit           sqlite3             wrjpgcombzless          ftpasswd         infotocap                 msgconv            mysql.server                piconv            suexec              xgettextbzmore          ftpcount         innochecksum              msgen              mysql_setpermission         pkgdata           swftocxx            xml2-configc2ph            ftpdctl          instmodsh                 msgexec            mysqlshow                   pl2pm             swftoperl           xmlcatalogcaptoinfo       ftpmail          jpegtran                  msgfilter          mysqlslap                   png2dbl           swftophp            xmllintcheckgid        ftpquota         json_pp                   msgfmt             mysqltest                   pngtogd           swftopython         xmlwfcjpeg           ftptop           ldapadd                   msggrep            mysqltest_embedded          pngtogd2          swftotcl            xslt-configclear           ftpwho           ldapcompare               msginit            mysql_tzinfo_to_sql         pod2html          tabs                xsltprocconfig_data     gd2copypal       ldapdelete                msgmerge           mysql_upgrade               pod2latex         tdspool             xsubppcorelist        gd2togif         ldapexop                  msgunfmt           mysql_waitpid               pod2man           thumbnail           yacccpan            gd2topng         ldapmodify                msguniq            mysql_zap                   pod2text          tic                 yshcpan2dist       gdcmpgif         ldapmodrdn                msql2mysql         ncurses5-config             pod2usage         tiff2bw             zipdetailscpanp           gdlib-config     ldappasswd                myisamchk          ngettext                    podchecker        tiff2pdf            zzcatcpanp-run-perl  gdparttopng      ldapsearch                myisam_ftdump      openssl                     podselect         tiff2ps             zzdircrc32           gdtopng          ldapurl                   myisamlog          osql                        POST              tiff2rgba           zzxorcatc_rehash        genbrk           ldapwhoami                myisampack         pal2rgb                     ppm2tiff          tiffcmp             zzxorcopycurl            gencfu           libmcrypt-config          my_print_defaults  pcre-config                 prove             tiffcp              zzxordircurl-config     gencnval         libnetcfg                 mysql              pcregrep                    prxs              tiffcropdatacopy        genctd           libpng15-config           mysqlaccess        pcretest                    psed              tiffdither[root@iZ254lfyd6nZ bin]# cd ..[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# cd php[root@iZ254lfyd6nZ php]# lsman[root@iZ254lfyd6nZ php]# cd bin-bash: cd: bin: No such file or directory[root@iZ254lfyd6nZ php]# lsman[root@iZ254lfyd6nZ php]# cd ..[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# cd cgi-bin[root@iZ254lfyd6nZ cgi-bin]# lsprintenv  printenv.vbs  printenv.wsf  test-cgi[root@iZ254lfyd6nZ cgi-bin]# cd ..[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# lsapache2  cgi-bin       error   icons    info   libexec   man                    modules  php         properties.ini  share      uninstall.datbin      ctlscript.sh  etc     img      lampp  licenses  manager-linux-x64.run  mysql    phpmyadmin  RELEASENOTES    temp       varbuild    docs          htdocs  include  lib    logs      manual                 pear     proftpd     sbin            uninstall  xampp[root@iZ254lfyd6nZ lampp]# cd include[root@iZ254lfyd6nZ include]# lsapache_noprobes.h            gdfontl.h          mhash.h                    modperl_log.h            my_list.h                   sqlfront.hap_compat.h                  gdfontmb.h         ming.h                     modperl_mgv.h            my_net.h                    sqlite3ext.hap_config_auto.h             gdfonts.h          mingpp.h                   modperl_module.h         my_pthread.h                sqlite3.hap_config.h                  gdfontt.h          mod_auth.h                 modperl_options.h        mysql                       sqlite.hap_config_layout.h           gdfx.h             mod_cache.h                modperl_pcw.h            mysql_com.h                 sql_state.hap_expr.h                    gd.h               mod_cgi.h                  modperl_perl_global.h    mysql_com_server.h          sslopt-case.hap_hooks.h                   gd_io.h            mod_core.h                 modperl_perl.h           mysqld_ername.h             sslopt-longopts.hap_listen.h                  gettext-po.h       mod_dav.h                  modperl_perl_includes.h  mysqld_error.h              sslopt-vars.hap_mmn.h                     heartbeat.h        mod_dbd.h                  modperl_perl_pp.h        mysql_embed.h               sxpath.hap_mpm.h                     http_config.h      mod_include.h              modperl_perl_unembed.h   mysql.h                     sybdb.hap_provider.h                http_connection.h  mod_log_config.h           modperl_svptr_table.h    mysql_time.h                syberror.hapr-1                        http_core.h        modperl_apache_compat.h    modperl_sys.h            mysql_version.h             sybfront.hap_regex.h                   httpd.h            modperl_apache_includes.h  modperl_time.h           my_sys.h                    tds_sysdep_public.hap_regkey.h                  http_log.h         modperl_apr_compat.h       modperl_tipool.h         my_xml.h                    tiffconf.hap_release.h                 http_main.h        modperl_apr_includes.h     modperl_trace.h          ncurses                     tiff.hapreq2                       http_protocol.h    modperl_apr_perlio.h       modperl_types.h          odbcss.h                    tiffio.hap_slotmem.h                 http_request.h     modperl_bucket.h           modperl_util.h           openssl                     tiffio.hxxap_socache.h                 http_vhost.h       modperl_callback.h         modperl_xs_sv_convert.h  os.h                        tiffvers.hautosprintf.h                iconv.h            modperl_cgi.h              modperl_xs_typedefs.h    pcrecpparg.h                typelib.hbig_endian.h                 jconfig.h          modperl_cmd.h              modperl_xs_util.h        pcrecpp.h                   unicodebkpublic.h                   jerror.h           modperl_common_includes.h  mod_proxy.h              pcre.h                      unixd.hbyte_order_generic.h         jmorecfg.h         modperl_common_log.h       mod_request.h            pcreposix.h                 util_cfgtree.hbyte_order_generic_x86_64.h  jpeglib.h          modperl_common_types.h     mod_rewrite.h            pcre_scanner.h              util_charset.hbyte_order_generic_x86.h     keycache.h         modperl_common_util.h      mod_session.h            pcre_stringpiece.h          util_cookies.hbzlib.h                      layout             modperl_config.h           mod_so.h                 php                         util_ebcdic.hcache_common.h               lber.h             modperl_constants.h        mod_ssl.h                plugin_audit.h              util_fcgi.hc-client                     lber_types.h       modperl_const.h            mod_status.h             plugin_ftparser.h           util_filter.hcspublic.h                   ldap_cdefs.h       modperl_debug.h            mod_unixd.h              plugin.h                    util_ldap.hcstypes.h                    ldap_features.h    modperl_directives.h       mod_watchdog.h           plugin_validate_password.h  util_md5.hctpublic.h                   ldap.h             modperl_env.h              mod_xml2enc.h            pngconf.h                   util_mutex.hcurl                         ldap_schema.h      modperl_error.h            mpm_common.h             png.h                       util_script.hdecimal.h                    ldap_utf8.h        modperl_filter.h           m_string.h               pnglibconf.h                util_time.hentities.h                   libaio.h           modperl_flags.h            mutils                   proftpd                     util_varbuf.herrmsg.h                     libcharset.h       modperl_global.h           my_alloc.h               sabcfg.h                    util_xml.hexpat_external.h             libexslt           modperl_gtop.h             my_attribute.h           sabdbg.h                    zconf.hexpat.h                      libpng15           mod_perl.h                 my_byteorder.h           sablot.h                    zlib.hFlexLexer.h                  libxml2            modperl_handler.h          my_compiler.h            scoreboard.h                zzipfreetype2                    libxslt            modperl_hooks.h            my_config.h              sdom.h                      zzip.hft2build.h                   little_endian.h    modperl_interp.h           my_dbug.h                shandler.h                  zzip-io.hgdbm.h                       localcharset.h     modperl_io_apache.h        my_dir.h                 slapi-plugin.h              zziplib.hgdcache.h                    mcrypt.h           modperl_io.h               my_getopt.h              sql_common.hgdfontg.h                    m_ctype.h          modperl_largefiles.h       my_global.h              sqldb.h[root@iZ254lfyd6nZ include]# cd php[root@iZ254lfyd6nZ php]# lsext  include  main  sapi  TSRM  Zend[root@iZ254lfyd6nZ php]# cd ext[root@iZ254lfyd6nZ ext]# lsdate  dom  ereg  filter  gd  hash  iconv  json  libxml  mbstring  mysqli  mysqlnd  pcre  pdo  phar  phpredis  session  simplexml  sockets  spl  standard  xml[root@iZ254lfyd6nZ ext]# cd phpredis[root@iZ254lfyd6nZ phpredis]# ls[root@iZ254lfyd6nZ phpredis]# wget https://github.com/nicolasff/phpredis/downloads --2015-06-26 17:27:22--  https://github.com/nicolasff/phpredis/downloadsResolving github.com... 192.30.252.130Connecting to github.com|192.30.252.130|:443... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: https://github.com/phpredis/phpredis/downloads [following]--2015-06-26 17:27:25--  https://github.com/phpredis/phpredis/downloadsConnecting to github.com|192.30.252.130|:443... connected.HTTP request sent, awaiting response... 200 OKLength: unspecified [text/html]Saving to: “downloads”    [  <=>                                                                                                                         ] 21,925      99.2K/s   in 0.2s    2015-06-26 17:27:30 (99.2 KB/s) - “downloads” saved [21925][root@iZ254lfyd6nZ phpredis]# lsdownloads[root@iZ254lfyd6nZ phpredis]# wget https://github.com/nicolasff/phpredis/archive/master.tar.gz--2015-06-26 17:30:29--  https://github.com/nicolasff/phpredis/archive/master.tar.gzResolving github.com... 192.30.252.130Connecting to github.com|192.30.252.130|:443... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: https://github.com/phpredis/phpredis/archive/master.tar.gz [following]--2015-06-26 17:30:30--  https://github.com/phpredis/phpredis/archive/master.tar.gzConnecting to github.com|192.30.252.130|:443... connected.HTTP request sent, awaiting response... 302 FoundLocation: https://codeload.github.com/phpredis/phpredis/tar.gz/master [following]--2015-06-26 17:30:31--  https://codeload.github.com/phpredis/phpredis/tar.gz/masterResolving codeload.github.com... 192.30.252.145Connecting to codeload.github.com|192.30.252.145|:443... connected.HTTP request sent, awaiting response... 200 OKLength: unspecified [application/x-gzip]Saving to: “master.tar.gz”    [           <=>                                                                                                                ] 138,618     59.6K/s   in 2.3s    2015-06-26 17:30:36 (59.6 KB/s) - “master.tar.gz” saved [138618][root@iZ254lfyd6nZ phpredis]# tar xvf master.tar.gzphpredis-master/phpredis-master/COPYINGphpredis-master/CREDITSphpredis-master/README.markdownphpredis-master/arrays.markdownphpredis-master/common.hphpredis-master/config.m4phpredis-master/config.w32phpredis-master/debian.controlphpredis-master/debian/phpredis-master/debian/changelogphpredis-master/debian/compatphpredis-master/debian/controlphpredis-master/debian/copyrightphpredis-master/debian/postinstphpredis-master/debian/postrmphpredis-master/debian/rulesphpredis-master/library.cphpredis-master/library.hphpredis-master/mkdeb-apache2.shphpredis-master/mkdeb.shphpredis-master/package.xmlphpredis-master/php_redis.hphpredis-master/redis.cphpredis-master/redis_array.cphpredis-master/redis_array.hphpredis-master/redis_array_impl.cphpredis-master/redis_array_impl.hphpredis-master/redis_session.cphpredis-master/redis_session.hphpredis-master/rpm/phpredis-master/rpm/php-redis.specphpredis-master/rpm/redis.iniphpredis-master/serialize.listphpredis-master/tests/phpredis-master/tests/TestRedis.phpphpredis-master/tests/array-tests.phpphpredis-master/tests/memory.phpphpredis-master/tests/mkring.shphpredis-master/tests/test.php[root@iZ254lfyd6nZ phpredis]# lsmaster.tar.gz  phpredis-master[root@iZ254lfyd6nZ phpredis]# cd phpredis-master[root@iZ254lfyd6nZ phpredis-master]# lsarrays.markdown  config.w32  debian          library.h         package.xml      redis_array.c       redis_array_impl.h  redis_session.h  testscommon.h         COPYING     debian.control  mkdeb-apache2.sh  php_redis.h      redis_array.h       redis.c             rpmconfig.m4        CREDITS     library.c       mkdeb.sh          README.markdown  redis_array_impl.c  redis_session.c     serialize.list[root@iZ254lfyd6nZ phpredis-master]# phpize-bash: phpize: command not found[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/bin/phpizeConfiguring for:PHP Api Version:         20131106Zend Module Api No:      20131226Zend Extension Api No:   220131226[root@iZ254lfyd6nZ phpredis-master]# ./configure --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... nochecking for gcc... noconfigure: error: in `/opt/lampp/include/php/ext/phpredis/phpredis-master':configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details.[root@iZ254lfyd6nZ phpredis-master]# yum -y install gccLoaded plugins: securitybase                                                                                                                                            | 3.7 kB     00:00     epel                                                                                                                                            | 4.4 kB     00:00     epel/primary_db                                                                                                                                 | 6.6 MB     00:01     extras                                                                                                                                          | 3.4 kB     00:00     extras/primary_db                                                                                                                               |  31 kB     00:00     updates                                                                                                                                         | 3.4 kB     00:00     updates/primary_db                                                                                                                              | 3.9 MB     00:00     Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved======================================================================================================================================================================= Package                             Arch                                   Version                                         Repository                            Size=======================================================================================================================================================================Installing: gcc                                 x86_64                                 4.4.7-11.el6                                    base                                  10 MTransaction Summary=======================================================================================================================================================================Install       1 Package(s)Total download size: 10 MInstalled size: 19 MDownloading Packages:gcc-4.4.7-11.el6.x86_64.rpm                                                                                                                     |  10 MB     00:01     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Installing : gcc-4.4.7-11.el6.x86_64                                                                                                                             1/1   Verifying  : gcc-4.4.7-11.el6.x86_64                                                                                                                             1/1 Installed:  gcc.x86_64 0:4.4.7-11.el6                                                                                                                                            Complete![root@iZ254lfyd6nZ phpredis-master]# ./configure --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... ccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for PHP prefix... /opt/lamppchecking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/libchecking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226checking for PHP installed headers prefix... /opt/lampp/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... noconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.checking for gawk... gawkchecking whether to enable redis support... yes, sharedchecking whether to enable sessions... yeschecking whether to enable igbinary serializer support... nochecking for redis igbinary support... disabledchecking for ld used by cc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for /usr/bin/ld option to reload object files... -rchecking for BSD-compatible nm... /usr/bin/nm -Bchecking whether ln -s works... yeschecking how to recognize dependent libraries... pass_allchecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking dlfcn.h usability... yeschecking dlfcn.h presence... yeschecking for dlfcn.h... yeschecking the maximum length of command line arguments... 1966080checking command to parse /usr/bin/nm -B output from cc object... okchecking for objdir... .libschecking for ar... archecking for ranlib... ranlibchecking for strip... stripchecking if cc supports -fno-rtti -fno-exceptions... nochecking for cc option to produce PIC... -fPICchecking if cc PIC flag -fPIC works... yeschecking if cc static flag -static works... nochecking if cc supports -c -o file.o... yeschecking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... nocreating libtoolappending configuration tag "CXX" to libtoolconfigure: creating ./config.statusconfig.status: creating config.h[root@iZ254lfyd6nZ phpredis-master]# make && make install  /bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=compile cc  -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis.c -o redis.lo mkdir .libs cc -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis.c  -fPIC -DPIC -o .libs/redis.o/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=compile cc  -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/lampp/include/php/ext/phpredis/phpredis-master/library.c -o library.lo  cc -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/lampp/include/php/ext/phpredis/phpredis-master/library.c  -fPIC -DPIC -o .libs/library.o/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=compile cc  -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_session.c -o redis_session.lo  cc -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_session.c  -fPIC -DPIC -o .libs/redis_session.o/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=compile cc  -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_array.c -o redis_array.lo  cc -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_array.c  -fPIC -DPIC -o .libs/redis_array.o/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=compile cc  -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_array_impl.c -o redis_array_impl.lo  cc -I. -I/opt/lampp/include/php/ext/phpredis/phpredis-master -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /opt/lampp/include/php/ext/phpredis/phpredis-master/redis_array_impl.c  -fPIC -DPIC -o .libs/redis_array_impl.o/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=link cc -DPHP_ATOM_INC -I/opt/lampp/include/php/ext/phpredis/phpredis-master/include -I/opt/lampp/include/php/ext/phpredis/phpredis-master/main -I/opt/lampp/include/php/ext/phpredis/phpredis-master -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -o redis.la -export-dynamic -avoid-version -prefer-pic -module -rpath /opt/lampp/include/php/ext/phpredis/phpredis-master/modules  redis.lo library.lo redis_session.lo redis_array.lo redis_array_impl.lo cc -shared  .libs/redis.o .libs/library.o .libs/redis_session.o .libs/redis_array.o .libs/redis_array_impl.o   -Wl,-soname -Wl,redis.so -o .libs/redis.socreating redis.la(cd .libs && rm -f redis.la && ln -s ../redis.la redis.la)/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=install cp ./redis.la /opt/lampp/include/php/ext/phpredis/phpredis-master/modulescp ./.libs/redis.so /opt/lampp/include/php/ext/phpredis/phpredis-master/modules/redis.socp ./.libs/redis.lai /opt/lampp/include/php/ext/phpredis/phpredis-master/modules/redis.laPATH="$PATH:/sbin" ldconfig -n /opt/lampp/include/php/ext/phpredis/phpredis-master/modules----------------------------------------------------------------------Libraries have been installed in:   /opt/lampp/include/php/ext/phpredis/phpredis-master/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following:   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable     during execution   - add LIBDIR to the `LD_RUN_PATH' environment variable     during linking   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag   - have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------Build complete.Don't forget to run 'make test'.Installing shared extensions:     /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp stopapacheXAMPP: Stopping Apache...ok.[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp startapacheXAMPP: Starting Apache...ok.[root@iZ254lfyd6nZ phpredis-master]# make test/bin/sh /opt/lampp/include/php/ext/phpredis/phpredis-master/libtool --mode=install cp ./redis.la /opt/lampp/include/php/ext/phpredis/phpredis-master/modulescp ./.libs/redis.so /opt/lampp/include/php/ext/phpredis/phpredis-master/modules/redis.socp ./.libs/redis.lai /opt/lampp/include/php/ext/phpredis/phpredis-master/modules/redis.laPATH="$PATH:/sbin" ldconfig -n /opt/lampp/include/php/ext/phpredis/phpredis-master/modules----------------------------------------------------------------------Libraries have been installed in:   /opt/lampp/include/php/ext/phpredis/phpredis-master/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following:   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable     during execution   - add LIBDIR to the `LD_RUN_PATH' environment variable     during linking   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag   - have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------Build complete.Don't forget to run 'make test'.=====================================================================PHP         : /opt/lampp/bin/php PHP_SAPI    : cliPHP_VERSION : 5.6.3ZEND_VERSION: 2.6.0PHP_OS      : Linux - Linux iZ254lfyd6nZ 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64INI actual  : /opt/lampp/include/php/ext/phpredis/phpredis-master/tmp-php.iniMore .INIs  :  CWD         : /opt/lampp/include/php/ext/phpredis/phpredis-masterExtra dirs  : VALGRIND    : Not used=====================================================================TIME START 2015-06-26 18:15:01=====================================================================No tests were run.[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp stopapacheXAMPP: Stopping Apache...ok.[root@iZ254lfyd6nZ phpredis-master]# /opt/lampp/lampp startapacheXAMPP: Starting Apache...ok.[root@iZ254lfyd6nZ phpredis-master]#

 


 

使用过程中的遇到的问题:

A PHP Error was encountered

Severity: Core Warning

Message: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll: cannot open shared object file: No such file or directory

Filename: Unknown

Line Number: 0

Backtrace:

我个人用的是CI,XAMMP 发现出现了上面的问题,解决方法:关闭掉php.ini中的openssl.dll扩展

转载地址:http://ajpra.baihongyu.com/

你可能感兴趣的文章
http协议与http代理
查看>>
【iOS开发-91】GCD的同步异步串行并行、NSOperation和NSOperationQueue一级用dispatch_once实现单例...
查看>>
Redis+Spring缓存实例
查看>>
Storm集群安装详解
查看>>
centos7.x搭建svn server
查看>>
原码编译安装openssh6.7p1
查看>>
easyui-datetimebox设置默认时分秒00:00:00
查看>>
蚂蚁分类信息系统5.8多城市UTF8开源优化版
查看>>
在django1.2+python2.7环境中使用send_mail发送邮件
查看>>
“Metro”,移动设备视觉语言的新新人类
查看>>
PHP源代码下载(本代码供初学者使用)
查看>>
Disruptor-NET和内存栅栏
查看>>
Windows平台ipod touch/iphone等共享笔记本无线上网设置大全
查看>>
播放加密DVD
查看>>
产品设计体会(3013)项目的“敏捷沟通”实践
查看>>
RHEL6.3基本网络配置(1)ifconfig命令
查看>>
网络诊断工具之—路由追踪tracert命令
查看>>
Java模拟HTTP的Get和Post请求(增强)
查看>>
php 环境搭建(windows php+apache)
查看>>
让虚拟机的软盘盘符不显示(适用于所有windows系统包括Windows Server)
查看>>