VPS侦探论坛

 找回密码
 注册
查看: 6950|回复: 6

lnmpa安装失败,未找到apache

[复制链接]
发表于 2012-9-13 15:49:22 | 显示全部楼层 |阅读模式

今天安装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/Z ... ibc23-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......
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-9-13 15:55:16 | 显示全部楼层


是centos5.8 64位系统哈。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-9-13 16:18:06 | 显示全部楼层

把apache.log上传上来。




军哥帮看看。我把日志上传上来。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-9-13 17:18:00 | 显示全部楼层

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

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

发表于 2012-9-13 19:01:42 | 显示全部楼层

压缩上传
64位可以在apache编译参数上加上--with-expat=builtin 试试
 楼主| 发表于 2012-9-14 11:06:23 | 显示全部楼层

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

完成后再自己改个centos 64用的。用于快速部署^^
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 19:24 , Processed in 0.027615 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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