stanper 发表于 2015-12-21 11:05:58

添加apc导致502

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

启动错误如下

# service httpd restart
Stopping httpd:                                          
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

licess 发表于 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文件及其配置文件还有其他未知的影响
页: [1]
查看完整版本: 添加apc导致502