查看httpd错误日记:/var/log/httpd/error_log

[Tue Dec 17 18:47:11 2013] [notice] Digest: done
Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: wrong ELF class: ELFCLASS32
eAccelerator: Could not allocate 67108864 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP 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

知道问题就好办了

vi /etc/php.d/eaccelerator.ini

eaccelerator.shm_size 把值改成15(根据自己服务器配置修改)

# 按下 Esc 键退出编辑

:wq

#保存退出

标签: Linux管理维护

添加新评论