How to fix “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.” on CentOS 6.x
1 min readOct 12, 2020
- Open LAMPP using text editor, for example i’m using nano.
nano /opt/lampp/lampp
2. Find the text as below.
# XAMPP is currently 32 bit only
case `uname -m` in
*_64)
if $XAMPP_ROOT/bin/php -v > /dev/null 2>&1
then
:
else
$GETTEXT -s “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.”
exit 1
fi
;;
esac
3. Remove or just comment the code
# XAMPP is currently 32 bit only
#case `uname -m` in
# *_64)
# if $XAMPP_ROOT/bin/php -v > /dev/null 2>&1
# then
# :
# else
# $GETTEXT -s “XAMPP is currently only availably as 32 bit #application. Please use a 32 bit compatibility library for your #system.”
# exit 1
# fi
# ;;
#esac
4. Save or WriteOut by pressing Ctrl+O (if you are using nano), then press Enter
5. Exit the text editor (Ctrl+X if you are using nano).
6. Instal 32-bit library
yum install glibc*
yum install libstd*