eAccelerator: shmmax should be at least 2MBPHP Warning

FreeBSD下尝试启动eAccelerator时提示以下错误信息”eAccelerator: shmmax should be at least 2MBPHP Warning”

要解决这个问题,只需要删除它,然后通过以下步骤重新安装eAccelerator:

[www@service-labs.com ~]# cd /usr/ports/www/eaccelerator

[www@service-labs.com ~]# make deinstall

[www@service-labs.com ~]# vi MakeFile

The “CONFIGURE_ARGS=” line needs to be changed so it looks like this
CONFIGURE_ARGS= –with-eaccelerator-shared-memory \
–with-eaccelerator-userid=80 \
–without-eaccelerator-use-inode
:wq

[www@service-labs.com ~]# make install clean

[www@service-labs.com ~]# restart apache

上一篇: