Ask Your Question
2

XAMPP error in Fedora 28?

asked 2018-07-15 00:58:13 -0600

Sagnik_Chaudhuri gravatar image

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?

edit retag flag offensive close merge delete

Comments

still same error.

Sagnik_Chaudhuri gravatar imageSagnik_Chaudhuri ( 2018-07-15 03:22:24 -0600 )edit

Why not just use Fedora's built-in package manager instead of downloading some packages from internet dnf install libnsl (or dnf install libnsl.i686 if you need 32-bit libnsl)?

ozeszty gravatar imageozeszty ( 2018-07-15 12:03:20 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-07-16 03:46:55 -0600

remi gravatar image

Using XAMPP on any Linux distribution doesn't make any sense.

Use all the packages provided in the official repository: httpd, nginx, php, mariadb, ...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-07-15 00:58:13 -0600

Seen: 1,012 times

Last updated: Jul 16 '18