Running XAMPP in 64 bit Machine.
Unfortunately XAMPP or LAMPP doesn’t work on 64 bit machine if you ever tried to run it on 64 bit architecture you will get an error message saying
“XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library”
To fix this thing up in ubuntu edit
/etc/apt/sources.list uncomment all the lines “thats what i did because i am lame”
do sudo apt-get update
then sudo apt-get install ia32-libs
and this is it.. You’re done now run sudo lampp start and it will work fine




Were you trying to run a 32-bit application on a 64-bit Operating System running on a 64-bit architecture? If so, you’d naturally need the 32-bit libs for backwards compatibility.
Yup thats what i did.. though the performance of the application running in 64bit os is nevertheless same but the question that comes into my mind is what actually the libs are performing like are they creating a simulation of 32bit arch on 64bit or some thing else? .
The performance gain is marginal, since we don’t really have pure applications that leverage the advantages 64-bit arch provides. You can call it simulation. I have never seriously looked at 64-bit thingies, so I can’t give an informed opinion. Apparently, porting 32-bit code to 64-bit is a nightmare. It is fraught with lots of subtle problems that come up here and there. I will have to see what exactly these 32-bit libs do.
Thank you so much, Before nothing escuse my English, Im from Uruguay and my natal language is spanish.
What you wrote work it really good for my laptop.
I was frustrated because so much things are incompatible for my laptop…one less thank to you!
Glad it helped Chritian!
Thank you!
Was searching on how to solve this problem!
Many thanks ( from The Netherlands )
Anybody experiencing problems should install the libraries as pointed out here and also ensure that the “lampp” folder is placed into the “/opt” directory.
Thanks! For some reason this information is missing on the XAMPP homepage.
But uncommenting all lines in /etc/apt/sources.list does not make much sense. What you probably meant is that the “universe” Ubuntu repository is needed, because the package ia32-libs is in there (and “universe” is not enabled by default, AFAIK).
Thanks again and happy coding
I did it. It works! Thanks.
Thanks from BraSil ;D
I still get the same error with ubuntu 8.04 ! Please help
Thanks sooo much!!!
I was looking everywhere, and I hadn’t ofund a good way to do it. Commenting those liens helped a lot!
cheers!
[...] 方法参考的文章:http://azimyasin.wordpress.com/2007/11/13/running-xampp-in-64-bit-machine/ [...]
在64位的服务器上安装AMP | 老牛向前行 | 刘志健 said this on August 13, 2008 at 3:37 pm |
Thank you very much (terima kasih bayak). Your write help my problem. And for my problem i no need to modify /etc/sources.lit. Just stright forward install ia32-libs as you mention.
Thanks.
thanks a lot, i got same problem. this fix my error..
Thanks from mars.
Ehrm…
jesus@beteigeuze:~$ apt-cache policy ia32-libs
ia32-libs:
Installed: 2.2ubuntu11
Candidate: 2.2ubuntu11
Version table:
*** 2.2ubuntu11 0
500 http://de.archive.ubuntu.com hardy-updates/universe Packages
500 http://de.archive.ubuntu.com hardy-security/universe Packages
100 /var/lib/dpkg/status
2.2ubuntu10 0
500 http://de.archive.ubuntu.com hardy/universe Packages
first of all it is possible under 8.04, ubuntu, no problems found
secondly: ia32-libs is located in universe wich SHOULD be decommented by default, so their should be NO problem in installing…
thanks for the tip! thanks for listinin
Anyone figure out how to solve this problem for Red Hat? (RHEL)
..
Anyone do this for RHEL (RedHat)?
Workaround would be to disable 64bit check from lampp script.
I posted this at
http://j2eedebug.blogspot.com/2009/06/installing-xampp-on-64bit-rhel.html
How should we do this on 64bit RHEL?
apt-get does seem to work for RHEL
how about Fedora core 10 ?
I have done yum update (all of package in Fedora updated)
then yum install ia32-libs but it not work
Loaded plugins: refresh-packagekit
Setting up Install Process
No package ia32-libs available.
Nothing to do
help me please..
thanks.