Ask Your Question
2

Xampp Error and not starting apache and mysql in Fedora 29

asked 2019-02-22 01:09:30 -0600

darkmatter64 gravatar image

Every time I try to start Apache and MySQL when using Xampp I get this error and can't figure out how to fix it:

"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"

Can someone tell me what I am doing wrong? This worked with no problem back when I was using Fedora27.

edit retag flag offensive close merge delete

Comments

What’s in line 522 of /opt/lampp/etc/httpd.conf?

What’s in line 10 of /opt/lampp/etc/extra/httpd-xampp.conf?

florian gravatar imageflorian ( 2019-02-22 07:39:13 -0600 )edit

Line 522 ---- Include etc/extra/httpd-xampp.conf

Line 10 ----- LoadModule php7_module modules/libphp7.so

darkmatter64 gravatar imagedarkmatter64 ( 2019-02-22 11:31:29 -0600 )edit

Cannot load modules/libphp7.so. That's the problem.

See if https://wiki.archlinux.org/index.php/... is helpful.

florian gravatar imageflorian ( 2019-02-22 14:23:47 -0600 )edit

Sorry man that didn't help at all. Is there really no straight forward answer to this issue? Xampp worked fine when I ran Fedora 27 which is what I can't understand. What's weird is that I installed "libnsll" and that got rid of both errors but it still would not start apache or mysql.

darkmatter64 gravatar imagedarkmatter64 ( 2019-02-22 21:55:13 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-02-23 12:20:43 -0600

Ferm gravatar image

https://linuxitos.com/blog/post/insta...

Solution:

cd /lib64 sudo ln -s libnsl.so.2 libnsl.so.1 sudo ln -s libnsl.so.1 libnsl.so

edit flag offensive delete link more
0

answered 2019-02-22 07:18:50 -0600

xl23lx gravatar image

Try Refering to this guide. https://computingforgeeks.com/how-to-... It's like xampp with far more configuration. I struggled in installing xampp and ampps this one work better and gets the job done.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-02-22 01:09:30 -0600

Seen: 20,971 times

Last updated: Feb 23 '19