VPS侦探论坛

 找回密码
 注册
查看: 3470|回复: 1

添加apc导致502

[复制链接]
发表于 2015-12-21 11:05:58 | 显示全部楼层 |阅读模式

http://www.phpddt.com/php/install-php-apc.html  用这个教程安装apc ,装完之后重启lnmpa。就出现了502错误。

启动错误如下

[root@10-13-33-23 ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-12-21 11:43:08 | 显示全部楼层


你完全按他教程安装的?

我只能再重复第N遍,不要随便找网上的教程,vpser上早就写过php模块的安装教程:https://www.vpser.net/manage/lnmp-php-install-ext.html 而且lnmp官网上常见问题里都有说明

你完全按他的教程的后果就是你系统里又安装上个apache,你只能在自己手动删除yum安装上的apache、init.d文件及其配置文件还有其他未知的影响
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 09:00 , Processed in 0.026061 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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