今天是:
设百科问答网为首页|收藏百科问答网|网站地图
百科问答网 - 帮您解决问题,分享成功经验
百科问答网  » 电脑/数码/通讯/互联网 » 操作系统  » FreeBSD安装 eAccelerator 0.9.6 报错

FreeBSD安装 eAccelerator 0.9.6 报错


freeBSD 8.0 64位系统 ports安装 eAccelerator 0.9.6 报这个错误

php是 5.2.13

#php-cgi -v
eAccelerator: shmmax should be at least 2MBPHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0

#php -v
shmget() failed: Cannot allocate memory
Failed to start up concurrent users module!
PHP 5.2.13 with Suhosin-Patch 0.9.7 (cli) (built: May 28 2010 12:29:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

内核参数默认的没有修改过

#sysctl -a | grep shmm
kern.ipc.shmmni: 192
kern.ipc.shmmin: 1
kern.ipc.shmmax: 33554432



答案或建议:


在编译的时候加上
with-eaccelerator-shared-memory=yes
试试看
 
------------
谢谢,我已经搞好了,也是加了这个参数。


本文转载链接:http://www.baikewenda.com/h/1010/a36600.html
精彩推荐

敬请注意:百科问答网内容来源于网络或民间经验收集,仅供参考。其中有关健康疾病方面的内容请务必咨询专业医生或及时到医院治疗。
关于我们 - 广告服务 - 联系我们
百科问答网 Copyright ©2005 - 2011 www.baikewenda.com,All Rights Reserved
辽ICP备10007180号