99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级
標(biāo)題:
[分享]
APC 3.1.13 安裝教程
[打印本頁(yè)]
作者:
sg199
時(shí)間:
2013-8-28 23:29
標(biāo)題:
APC 3.1.13 安裝教程
wget http://pecl.php.net/get/APC-3.1.13.tgz
tar xvzf APC-3.1.13.tgz
cd APC-3.1.13
/www/wdlinux/php/bin/phpize
./configure –enable-apc –enable-apc-mmap –with-php-config=/www/wdlinux/php/bin/php-config
make
make install
復(fù)制代碼
編譯后確保www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20090626/路徑下有apc.so
在php.ini后添加
[apc]
extension_dir="/www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20090626/"
extension="apc.so"
apc.enabled = 1
apc.cache_by_default = on
apc.shm_segments = 1
apc.shm_size = 128
apc.ttl = 7200
apc.user_ttl = 7200
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.num_files_hint = 0
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
[root@wdOS ~]# cd APC-3.1.13
[root@wdOS APC-3.1.13]# /www/wdlinux/apache_php-5.2.17/bin/phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
[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
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ?enable-apc
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ?enable-apc-mmap
configure: error: invalid variable name: ?with-php-config
[root@wdOS APC-3.1.13]# make
make: *** No targets specified and no makefile found. Stop.
[root@wdOS APC-3.1.13]# make install
make: *** No rule to make target `install'. Stop.
復(fù)制代碼
作者:
happyxinqiang
時(shí)間:
2014-2-26 20:08
回復(fù)
3#
lfq1989
./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