If you have a 64-bit unix like operating system you cant run the Xampp because Xampp currently doesn’t have a 64-bit compiled version. Now what will you do in this condition ?
When you are trying to start a lampp from terminal you might be getting this kind of error:: XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system. Dont worry this is just a simple validation code in /opt/lampp in lampp file on line number 86. Now we will run the xampp under 64-bit operating system even though it is not supporting the 64-bit compiled version.
Please follow the steps in order to start your xampp with 64-bit operating system.
1) Comment the lines in /opt/lampp lampp file from 78 to 90.
which will now look like this
# XAMPP is currently 32 bit only
#case `uname -m` in
# if /opt/lampp/bin/php -v > /dev/null 2>&1
# $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."
2) Open your terminal (if it is ubuntu 10.10 go to Appllication>>Accessories>>Terminal enter this command sudo apt-get install ia32-libs if it is asking for root password then enter the password, wait till it downloads all of the 32-bit libs.
3) Once it is done just enter the following command at the terminal /opt/lampp/lampp start
Thats It!!! now you are free to use the xampp under 64-bit operating system.
Enjoy & be open.
long live linux