VPS侦探论坛

 找回密码
 注册
查看: 6967|回复: 4

./apache.sh出现502错误,怎么重新编译php

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

军哥 ,

/root/lnmpa: line 79: /etc/init.d/httpd: No such file or directory ,./apache.sh出现502错误

httpd-2.2.17, php-5.2.17
怎么编译php,麻烦给编译的代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-10-23 12:03:27 | 显示全部楼层


apache没有安装上,编译代码就在apache.sh里
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-10-23 14:24:06 | 显示全部楼层

cp /usr/local/apache/bin/apachectl /etc/init.d/httpd    ,拷贝后, 单独运行apache 是好的, php 页面是好的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-10-23 17:33:37 | 显示全部楼层



那可能是/etc/init.d/httpd 没cp过去
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-9 16:28:23 | 显示全部楼层

哥们你也别难为电脑


先重装lnmp吧.把lnmp停掉. 然后再/root / lnmp-1.0full/apache.sh

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 03:27 , Processed in 0.026396 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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