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 🙂


~ by Azeem on November 13, 2007.

29 Responses to “Running XAMPP in 64 bit Machine.”

  1. 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.

  2. 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? .

  3. 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.

  4. 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! 😉

  5. Glad it helped Chritian! 🙂

  6. Thank you!

    Was searching on how to solve this problem!

    Many thanks ( from The Netherlands )

  7. Anybody experiencing problems should install the libraries as pointed out here and also ensure that the “lampp” folder is placed into the “/opt” directory.

  8. 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 🙂

  9. I did it. It works! Thanks. 🙂

  10. Thanks from BraSil ;D

  11. I still get the same error with ubuntu 8.04 ! Please help

  12. Thanks sooo much!!!
    I was looking everywhere, and I hadn’t ofund a good way to do it. Commenting those liens helped a lot!

  13. […] 方法参考的文章: […]

  14. 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.


  15. thanks a lot, i got same problem. this fix my error..

  16. Thanks from mars. 🙂

  17. Ehrm…

    jesus@beteigeuze:~$ apt-cache policy ia32-libs
    Installed: 2.2ubuntu11
    Candidate: 2.2ubuntu11
    Version table:
    *** 2.2ubuntu11 0
    500 hardy-updates/universe Packages
    500 hardy-security/universe Packages
    100 /var/lib/dpkg/status
    2.2ubuntu10 0
    500 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

  18. Anyone figure out how to solve this problem for Red Hat? (RHEL)

  19. ..

  20. Anyone do this for RHEL (RedHat)?

  21. How should we do this on 64bit RHEL?
    apt-get does seem to work for RHEL

  22. 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..

  23. thx

  24. great… its works… am using ubuntu 10.10 amd 64

  25. what version of joomla works with xampp version 2.5? I am trying to install Joomla on a windows 7 machine. I have xampp version 2.5 installed on my machine but cant find a compatible joomla version

  26. Thanks you very much Im form thailand

  27. Perfect Solution, it works fine.

    Don’t forget to comment the uncommented lines afterwards, as a security measure.

  28. Thanks a bunch. I was also looking for the solution for this problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: