When you install xampp to CentOS 64bit, you receive an error message: “XAMPP is currently only availably as 32 bit application. Please use a 32bit compatibility library for your system”
My Solution:
Step 1:
#vi /opt/lampp/lampp
Edit all of follow row:
# 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 Kompatibilitaetsbibliothek fuer Dein System.”
$de || echo “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.”
exit
fi
;;
esacto
# 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 Kompatibilitaetsbibliothek fuer Dein System.”
# $de || echo “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.”
# exit
# fi
# ;;
#esacIt’s mean: comment all of them.
Save it and quit. (:x or :wq)
Step 2:
Install all of 32 bit library missing:
yum install ld-linux.so.2 curl
Step 3:
Start xampp:
/opt/lampp/lampp start
DONE