In default, when you install xampp to CentOS, 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
;;
esac

to

# 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
# ;;
#esac

It’s mean: comment all of them.

Save it and quit. (:x or :wq)

Step 2:

Install all of 32 bit library missing:

#yum install glibc*

#yum install libstd*

Step 3:

Start xampp:

/opt/lampp/lampp start

DONE

 

cuongk6t – Nguyen Quoc Cuong

Advertisements