hello all,
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
# *_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
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
Did you meant comment on the first step?
ReplyDeleteOh thanks! @rabidmachine9
ReplyDeleteThanks! It worked! I just had a problem with MySQL, it just doesn't started.
ReplyDeleteIt didn't work even when I downloaded the libraries:
ReplyDeletesudo apt-get install ia32-libs
I am using kubuntu and eventhough ia32-libs are installed it didnt work.
ReplyDeleteyou don't need to comment any lines. remove previous installation by rm -rf /opt/lampp and install ia32-libs. now re-install xampp it should work like a charm.
ReplyDeleteI Am not able to download ia32-libs its says.
ReplyDelete$ sudo yum install ia32-libs
Loaded plugins: security
http://deb.torproject.org/torproject.org/rpm/DISTRIBUTION/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: torproject. Please verify its path and try again
Please help me on this
easiest way to install xampp on 64 bit linux is to install wine first then install xampp ,read complete tutorial with screen shot
ReplyDeletehttp://html5planet.blogspot.in/2013/01/installing-xampp-18-on-32-bit-and-64.html
Dude installing wine is not an option! Its never been the option! on my blog no one uses the Windows word! If you are so much a windows fan then use windows!!
DeleteThis comment has been removed by the author.
ReplyDeletecan any one give me direct download link for Wine or ia32-libs. yum is not working on my machine.
ReplyDeleteI followed the steps 1 and 2, but then it gave the following error:
ReplyDeleteNo package ia32-libs available.
Error: Nothing to do
I am a complete newbie to linux.....Please help me!
I am using fedora 18.
Thank you sir so much
ReplyDelete