99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级

Board logo

標(biāo)題: [分享] APC 3.1.13 安裝教程 [打印本頁(yè)]

作者: sg199    時(shí)間: 2013-8-28 23:29     標(biāo)題: APC 3.1.13 安裝教程


  1. wget http://pecl.php.net/get/APC-3.1.13.tgz
  2. tar xvzf APC-3.1.13.tgz
  3. cd APC-3.1.13
  4. /www/wdlinux/php/bin/phpize
  5. ./configure –enable-apc –enable-apc-mmap –with-php-config=/www/wdlinux/php/bin/php-config
  6. make
  7. make install
復(fù)制代碼


編譯后確保www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20090626/路徑下有apc.so
在php.ini后添加


  1. [apc]
  2. extension_dir="/www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20090626/"
  3. extension="apc.so"
  4. apc.enabled = 1
  5. apc.cache_by_default = on
  6. apc.shm_segments = 1
  7. apc.shm_size = 128
  8. apc.ttl = 7200
  9. apc.user_ttl = 7200
  10. apc.mmap_file_mask=/tmp/apc.XXXXXX
  11. apc.num_files_hint = 0
  12. apc.write_lock = On   
復(fù)制代碼



我的試驗(yàn)成功,分享下,如果其他人成功就好,不成功誤怪
作者: lfq1989    時(shí)間: 2014-1-7 13:33

這個(gè)方法安裝不上呢 我的wdcp最新版 php5.2
作者: lfq1989    時(shí)間: 2014-1-7 13:45

  1. [root@wdOS ~]# cd APC-3.1.13
  2. [root@wdOS APC-3.1.13]# /www/wdlinux/apache_php-5.2.17/bin/phpize
  3. Configuring for:
  4. PHP Api Version:         20041225
  5. Zend Module Api No:      20060613
  6. Zend Extension Api No:   220060519
  7. [root@wdOS APC-3.1.13]# ./configure ?enable-apc ?enable-apc-mmap ?with-php-config=/www/wdlinux/apache_php-5.2.17/bin/php-config
  8. configure: WARNING: you should use --build, --host, --target
  9. configure: WARNING: invalid host type: ?enable-apc
  10. configure: WARNING: you should use --build, --host, --target
  11. configure: WARNING: invalid host type: ?enable-apc-mmap
  12. configure: error: invalid variable name: ?with-php-config
  13. [root@wdOS APC-3.1.13]# make
  14. make: *** No targets specified and no makefile found.  Stop.
  15. [root@wdOS APC-3.1.13]# make install
  16. make: *** No rule to make target `install'.  Stop.
復(fù)制代碼

作者: happyxinqiang    時(shí)間: 2014-2-26 20:08

回復(fù) 3# lfq1989


  
  1. ./configure –enable-apc –enable-apc-mmap –with-php-config=/www/wdlinux/php/bin/php-config
復(fù)制代碼
這行代碼需要你手動(dòng)輸入,直接復(fù)制粘貼就會(huì)出現(xiàn)這種錯(cuò)誤……




歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) Powered by Discuz! 7.2