为什么我老是编译./eaccelerator.sh 失败,每次安装后看探针都还是显示不支持eaccelerator
为什么我老是编译./eaccelerator.sh 失败,每次安装后看探针都还是现实不支持eaccelerator系统的CentOS5 32位的 执行php -v看看报错不 # php -v
Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so:/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: No such file or directory
PHP 5.2.17 (cli) (built: Oct 30 2011 22:49:40)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.10, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
报错了 eaccelerator 没编译安装成功 我每次安装nag方法安装都没有成功啊,不知道为什么 ./eaccelerator.sh: line 52: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Restarting php-fpm......
Shutting down php_fpmdone
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so:/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: No such file or directory
done
===================== install eaccelerator completed ===================
Install eAccelerator completed,enjoy it!
=======================================================================
Install eAcesselerator for LNMP V0.7,Written by Licess
=======================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install eAccelerator for lnmp ./eaccelerator.sh: line 52: ./configure: No such file or directory 前面还有其他的的错误信息不 全部贴下来了,我已经重复好多次安装换了很多系统但是问题就是无法解决!
root@vps:~/lnmp0.7# ./eaccelerator.sh
=======================================================================
Install eAcesselerator for LNMP V0.7,Written by Licess
=======================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install eAccelerator for lnmp
For more information please visit http://www.lnmp.org
=======================================================================
Press any key to start install eAccelerator...
=========================== install eaccelerator ======================
--2011-10-31 18:45:24--http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
Resolving bart.eaccelerator.net... 193.190.253.234
Connecting to bart.eaccelerator.net|193.190.253.234|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.ulyssis.org/websource/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
--2011-10-31 18:45:25--http://www.ulyssis.org/websource/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
Resolving www.ulyssis.org... 193.190.253.242
Connecting to www.ulyssis.org|193.190.253.242|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-10-31 18:45:26 ERROR 404: Not Found.
tar (child): eaccelerator-0.9.6.1.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./eaccelerator.sh: line 50: cd: eaccelerator-0.9.6.1/: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module
./eaccelerator.sh: line 52: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Restarting php-fpm......
Shutting down php_fpm . done
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so:/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: No such file or directory
done
===================== install eaccelerator completed ===================
Install eAccelerator completed,enjoy it!
=======================================================================
Install eAcesselerator for LNMP V0.7,Written by Licess
=======================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install eAccelerator for lnmp
For more information please visit http://www.lnmp.org
=======================================================================
root@vps:~/lnmp0.7# 编辑 eaccelerator.sh ,将http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2替换为:http://soft.vpser.net/web/eaccelerator/eaccelerator-0.9.6.1.tar.bz2
再重新运行eaccelerator.sh 按照上面方法貌似还是报错了
root@vps:~/lnmp0.7# ./eaccelerator.sh
-bash: ./eaccelerator.sh: /bin/bash^M: bad interpreter: No such file or directory
回复 10# 的帖子
都出^M: bad interpreter了,你肯定是用windows的编辑器编辑的,要用vi 或nano编辑。vi的话,先 set ff=unix 把它强制为unix格式的, 然后:wq 存盘退出 就行了,再运行,不会vi的话就看看vpser.net上的vi教程
页:
[1]