![Fedora - Xampp 启动 Apache 失败](https://linux22.com/image/201104/Fedora%20-%20Xampp%20%E5%90%AF%E5%8A%A8%20Apache%20%E5%A4%B1%E8%B4%A5.png)
我正在尝试在 上安装 Xampp Fedora Linux 35
,但每次尝试启动它时都会收到此错误。
我跟着本教程
我使用的命令 -
sudo /opt/lampp/lampp start
输出 -
Starting XAMPP for Linux 8.0.6-0...
XAMPP: Starting Apache...fail.
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 6 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/mod_perl.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.
我尝试重新安装,但没有帮助。我应该怎么办?
答案1
从错误消息中你错过了libnsl
图书馆。所以尝试安装它:
yum install libnsl