VPS侦探论坛

 找回密码
 注册
查看: 6849|回复: 10

为什么我老是编译./eaccelerator.sh 失败,每次安装后看探针都还是显示不支持eaccelerator

[复制链接]
发表于 2011-10-30 22:12:23 | 显示全部楼层 |阅读模式

为什么我老是编译./eaccelerator.sh 失败,每次安装后看探针都还是现实不支持eaccelerator
系统的CentOS5 32位的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-10-31 06:59:12 | 显示全部楼层


执行php -v看看报错不
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-10-31 11:09:30 | 显示全部楼层

[root@vps ~]# 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


报错了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-10-31 11:50:45 | 显示全部楼层



eaccelerator 没编译安装成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-10-31 15:25:36 | 显示全部楼层

我每次安装nag方法安装都没有成功啊,不知道为什么

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2011-10-31 17:00:42 | 显示全部楼层

./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
发表于 2011-10-31 18:14:40 | 显示全部楼层

./eaccelerator.sh: line 52: ./configure: No such file or directory 前面还有其他的的错误信息不
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-10-31 18:46:52 | 显示全部楼层

全部贴下来了,我已经重复好多次安装换了很多系统但是问题就是无法解决!


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/sou ... tor-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 ... tor-0.9.6.1.tar.bz2 [following]
--2011-10-31 18:45:25--  http://www.ulyssis.org/websource ... tor-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#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-10-31 19:01:16 | 显示全部楼层

  1. 编辑 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

  2. 再重新运行eaccelerator.sh
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-10-31 20:19:27 | 显示全部楼层



按照上面方法貌似还是报错了

root@vps:~/lnmp0.7# ./eaccelerator.sh
-bash: ./eaccelerator.sh: /bin/bash^M: bad interpreter: No such file or directory
发表于 2011-10-31 20:30:39 | 显示全部楼层

回复 10# 的帖子


都出^M: bad interpreter了,你肯定是用windows的编辑器编辑的,要用vi 或nano编辑。

vi的话,先 set ff=unix 把它强制为unix格式的, 然后:wq 存盘退出 就行了,再运行,不会vi的话就看看vpser.net上的vi教程
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 15:28 , Processed in 0.031192 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表