XAMPP error in Fedora 28?
Previously, it used to work perfectly in Fedora 27. But after upgrading to Fedora 28, it shows me the following log output:
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 10 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/libphp7.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
Running this showed me this:
/opt/lampp/bin/php -v
/opt/lampp/bin/php: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Also, I went through this link, but couldn't understand. How to fix this issue?
still same error.
Why not just use Fedora's built-in package manager instead of downloading some packages from internet
dnf install libnsl
(ordnf install libnsl.i686
if you need 32-bitlibnsl
)?