无法在 Ubuntu 11.10 上启动 XAMPP

Asa*_*400 14 lamp ssl xampp apache2 phpmyadmin

当我尝试使用 sudo /opt/lampp/lampp start 命令启动 XAMPP 时,它给了我这样的消息。

Starting XAMPP for Linux 1.7.7...
XAMPP: Another web server daemon with SSL is already running.
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
Run Code Online (Sandbox Code Playgroud)

这是什么,我如何才能找到另一个带有 SSL 的 Web 服务器守护程序。如何停止此服务器?

小智 14

这是在 LINUX 中运行 XAMPP 时会遇到的特殊错误。

假设:XAMPP 已解压缩@/opt/文件夹。

如果您在运行./lampp start. 只需按照以下步骤即可消除此错误:

  1. 打开文件/opt/lampp/etc/httpd.conf

  2. 搜索Listen 80并将其更改为某个其他端口(例如Listen 2145)(第 40 行)。

  3. 打开文件/opt/lampp/etc/extra/httpd-ssl.conf

  4. 搜索Listen 443并将其更改为某个其他端口(例如Listen 16443)(第 39 行)。

  5. 打开文件 /opt/lampp/lampp

  6. 搜索端口testport 80并将其替换为testport 2145。也更改testport 443testport 16443. (正好是197、214号线)

  7. 现在去跑/opt/lampp/lampp start。它现在应该可以工作了。

注意:行号可能不同。