This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article meets our high standards.

The wikiHow Tech Team also followed the article's instructions and validated that they work.
Learn more...

How do I install XAMPP on Linux if I get a syntax error message and the installer quits?

Community Answer

You may be installing the wrong version. The latest XAMPP installations are for x64 computers. Your computer may actually be x32. If you go to the Sourceforge website XAMPP page, you can look for a version that does not have x64 in the title and download that version. That is what I had to do after I got that syntax error message; I downloaded the the latest x32 version and it worked.

References

About This Article

Co-Authored By:

wikiHow Staff Editor

This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article meets our high standards.

1. Go to https://www.apachefriends.org/index.html.
2. Click XAMPP for Linux to download.
3. Open a terminal window.
4. Use "chmod +x" to make the downloaded file executable.
5. Use "sudo ./(filename)" to run the installer.
6. Follow the on-screen instructions to install.