有空来玩玩 发表于 2012-9-13 15:49:22

lnmpa安装失败,未找到apache

今天安装lnmp0.9后一切正常。之后执行./apache.sh。之后,nginx出现502。用/etc/init.d/httpd发现无指令
Installing shared extensions:   /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
./apache.sh: line 174: /usr/local/php/bin/phpize: 没有那个文件或目录
./apache.sh: line 175: ./configure: 没有那个文件或目录
make: *** 没有指明目标并且找不到 makefile。 停止。
--2012-09-13 12:54:05--http://soft.vpser.net/web/zend/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
正在解析主机 soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable

    文件已下载完成;不会进行任何操作。






Download new Apache init.d file......
--2012-09-13 12:54:18--http://soft.vpser.net/lnmp/ext/init.d.httpd
正在解析主机 soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable

    文件已下载完成;不会进行任何操作。

Stop Nginx......

有空来玩玩 发表于 2012-9-13 15:55:16

是centos5.8 64位系统哈。

有空来玩玩 发表于 2012-9-13 15:59:45

另外找到一些错误,一起发上来

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/apache/bin/apxs follows:
./configure: line 6461: /usr/local/apache/bin/apxs: No such file or directory
configure: error: Aborting
cp: 无法 stat “/usr/local/apache/build/libtool”: 没有那个文件或目录
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。



这个是不是网络的问题所至?我是用的DNS:8.8.8.8

有空来玩玩 发表于 2012-9-13 16:18:06

把apache.log上传上来。

军哥帮看看。我把日志上传上来。

有空来玩玩 发表于 2012-9-13 17:18:00

我90K的压缩包上传不了。。。。:L 一直提示我超过100K不能上传。。。。

licess 发表于 2012-9-13 19:01:42

压缩上传
64位可以在apache编译参数上加上--with-expat=builtin 试试

有空来玩玩 发表于 2012-9-14 11:06:23

谢谢。成功了。现在是权限问题了。我去查查帖子。记得说是要改个配置来着。:)

完成后再自己改个centos 64用的。用于快速部署^^
页: [1]
查看完整版本: lnmpa安装失败,未找到apache