Fedora
Fedora - Xampp 啟動 Apache 失敗
我正在嘗試在 上安裝 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.
我嘗試重新安裝,但沒有幫助。我應該怎麼辦?
從錯誤消息中,您錯過了
libnsl
庫。所以嘗試安裝它:yum install libnsl