How to run XAMPP on 64-bit Linux

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. It comes in 32-bit flavor only but it's easy enough to get it running on 64-bit machines.

Step 1: Install XAMPP (in my case LAMPP) as you would.

wget url-to-xampp-version
tar xvfz xampp-linux-1.7.1.tar.gz -C /opt

If you try to start XAMPP, you should see the folllowing error message :

XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

Step 2 : Now, the trick is to install the ia32-libs package available on the Ubuntu repositories.

sudo apt-get install ia32-libs

The ia32-libs contains runtime libraries for the ia32/i386
architecture, configured for use on an amd64 or ia64 Debian system running
a 64-bit kernel. In other words, it allows 32-bit codes to run on a 64-bit machine.

Try starting XAMPP now by running “sudo /opt/lampp/lampp start” and it should now work perfectly fine.

Comments

This was perfect! Just what I needed after upgrading a 32-bit Xubuntu install to 64-bit Mint.

One thing I wanted to point out was the statement:
Try starting XAMPP not by running “sudo /opt/lampp/lampp start” and it should now work perfectly fine.

"sudo /opt/lampp/lampp start" worked just fine for me, I don't know of any other way to start lampp.

That's a typo. It should be now instead of not. thanks for spotting that out.

I went from 32-bit Ubuntu to 64-bit Lubuntu and all I needed was ia32-libs. Thanks Arshad.

third! thanks arshad!

64-bit Mint

it works! :)

Thanks for your job.

;-)

Genius thx

Thanks for your job.

Thanks man!! you solved my problem

Dope man, you saved me.

Tnx. :)

thr is no library named ia32-libs... :( pls hlp me...

Thanks!!! it works,... :-),... if it works this way,... why don't they just include it in the package!!!!

Thx !

Thanks a lot...
Help received at right time.

When I try to install it says "ia32-libs is already the newest version." and the lampp gives the same error message.
Using Kubuntu 11.10 with KDE 4.8.1 and Linux Kernel 3.0

Ok, so if someone gets in the same problem as me(after you install ia32-libs it anyway doesn't want to start) make sure you unpack into /opt as the article says.

just upgraded my Ubuntu to 64 bit and this worked perfectly fine just at the right time. Thanks

I think it would be much easier to use the Ubuntu's way to install software on Ubuntu. That way, you will automatically get updates to your software through the package manager.

Thanks good solution.

It seems ia32-libs is only on Debian and derivatives.

In Centos, there is a similar issue (not working on 64bit) that Google brings up for the installation of Zimbra - google "IA32Warning 64-bit Centos".

To fix this it seems you have to install "glibc.i686"

Add new comment