error while starting xampp on fedora17 [closed]

I currently installed xampp on my fedora (64 bit) system. i edited out the following code to make it 64 bit compatible.

# XAMPP is currently 32 bit only
#case `uname -m` in
#    *_64)
#    if /opt/lampp/bin/php -v > /dev/null 2>&1
#        then
#            :
#    else
#        $de && echo "XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Ko$
#        $de || echo "XAMPP is currently only availably as 32 bit application. Please use a 32 bit com$
#        exit
#    fi
#    ;;
#esac

but i am getting the following error

[root@localhost ~]# /opt/lampp/lampp start

Starting XAMPP for Linux 1.8.1...

/opt/lampp/share/lampp/phpstatus: /opt/lampp/bin/php: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/apachectl: /opt/lampp/bin/httpd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

XAMPP: Error 126! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/

XAMPP: Starting MySQL...
/opt/lampp/bin/mysql.server: /opt/lampp/bin/my_print_defaults: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Couldn't start MySQL!

XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: /opt/lampp/sbin/proftpd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Error 126! Couln't start ProFTPD!

XAMPP for Linux started.

Answer

Why on earth would you think that disabling the 64 bit check would magically make it work? This has no chance of ever working.

Moreover, you should never use lampp on fedora or any other distro that provides the relevant packages (read: all of them). Get rid of it and simply install the apache, mysql and php packages from the fedora repos.

Attribution
Source : Link , Question Author : sneha , Answer Author : Dennis Kaarsemaker

Leave a Comment