redhat as4 Lighttpd+Mysql+Php(FAST-CGI)+eAccelerat

redhat as4 Lighttpd+Mysql+Php(FAST-CGI)+eAccelerat

redhat as 4 下安装 lighttpd
运行service lighttpd restart
[root@test conf]# service lighttpd restart
Stopping lighttpd:                                         [  OK  ]
Starting lighttpd: execvp: No such file or directory
                                                           [FAILED]


[root@test conf]# /usr/local/php-fcgi/bin/php -v
PHP 5.2.4 (cli) (built: Nov  6 2007 18:32:1
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


目前就是php没有安装好,不能解析.php的文件


php.ini文件的内容如下
是不是还缺少什么东西啊
cgi.fix_pathinfo = 1
extension_dir = "/usr/local/php-fcgi/lib/php/extensions/no-debug-non-zts-20060613/"
zlib.output_compression = On
cgi.fix_pathinfo=1
eaccelerator.cache_dir= "/tmp/eaccelerator"
zend_extension="/usr/local/php-fcgi/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
eaccelerator.shm_size = "0"
eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.debug = 0
eaccelerator.log_file = " /var/log/httpd/eaccelerator_log "
eaccelerator.name_space = ""
eaccelerator.check_mtime = "1"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only = "0"
eaccelerator.compress = "1"
eaccelerator.compress_level = "9"
eaccelerator.keys     = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content  = "shm_and_disk"
eaccelerator.admin.name="yourusername"
eaccelerator.admin.password="yourpassword"


php加速器也没有安装成功吧



请各位帮忙看一下  谢了

急等
eac似乎不能在cgi模式下工作吧,只能配合apache的mod_php下面工作
目前就是 加速器还没有装好
/usr/local/php/bin/php -v
PHP 5.2.4 (cli) (built: Nov 12 2007 12:00:17)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


里面没有显示eaccelerator的信息,应该是没有安装好



请教各位怎么回事啊
是配置文件需要定制吗


多谢
问题解决了
是因为php.ini的设置问题
官方网站的配置如下
http://eaccelerator.net/wiki/InstallFromSource
然后根据服务起来后 phpinfo.php 的信息来判断安装是否有误

更改php.ini后要kill掉php的进程,因为加速器eaccelerator 是与lighttpd 安装在一起的,然后再重起lighttpd


启动后会显示
[root@test bin]# ./php -v
PHP 5.2.4 (cli) (built: Nov 12 2007 12:00:17)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

加速器已经安装成功