我使用Debian8.5Jessie并安装了lampp.7.0.9。但当我想像这样开始兰普的时候
/opt/lampp/lampp start然后我就像这样失败了:
Starting XAMPP for Linux 7.0.9-0...
XAMPP: Starting Apache...fail.
httpd: Syntax error on line 136 of /opt/lampp/etc/httpd.conf: Cannot load
modules/mod_ssl.so into server: /opt/lampp/modules/mod_ssl.so: cannot open
shared object file: No such file or directory
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...fail.
XAMPP: Another FTP daemon is already running.我该怎么做才能开始兰普?请帮帮我!
发布于 2016-09-02 23:17:04
在安装xampp并运行apache服务器后,我发现了同样的问题,下面是解决方案。
Please open your Linux terminal and follow given Steps.
1: $ cd /opt/lampp/etc
2: $ sudo gedit httpd.conf
Now comment line# 136 Like this (put # sign before it)
#LoadModule ssl_module modules/mod_ssl.so发布于 2016-09-04 09:40:03
在新的Xubuntu 16安装上也有同样的问题,并通过注释apache配置文件中的一行来解决。
下面是我使用的命令:
$ sudo nano /opt/lampp/etc/httpd.conf然后,在文件注释行136中
省省吧,一切都会好起来的
发布于 2016-09-01 18:43:20
答案就在上面的注释中提到的错误消息中。
httpd: Syntax error on line 136 of /opt/lampp/etc/httpd.conf: Cannot load
modules/mod_ssl.so into server: /opt/lampp/modules/mod_ssl.so: cannot open
shared object file: No such file or directory关于如何安装,请参阅这里。https://serverfault.com/questions/446328/aws-installing-mod-ssl-on-apache
FYI总是谷歌你的错误信息,然后再张贴在!
https://stackoverflow.com/questions/39278175
复制相似问题