"Syntax error: Unterminated quoted string" when running xampp installer file

32,703

Judging by the error you are getting, and found on this site here, the error can occur when you are installing a 64bit version of the program on a 32bit system.

What does the command uname -a return on your system? If you see anything other than x86_64 in that line, then download the 32bit version of the application.

Hope this helps!

Share:
32,703

Related videos on Youtube

wiltomap
Author by

wiltomap

Updated on September 18, 2022

Comments

  • wiltomap
    wiltomap over 1 year

    I want to install XAMPP on my machine. I downloaded the install file from this website and stored it in my default Downloads directory. The site gives instructions on how to install it, then.

    I followed these instructions as below:

    chmod 755 xampp-linux-x64-5.6.12-0-installer.run
    

    Then:

    sudo ./xampp-linux-x64-5.6.12-0-installer.run
    

    I get the following message:

    ./xampp-linux-x64-5.6.12-0-installer.run: 
    1: ./xampp-linux-x64-5.6.12-0-installer.run: 
    Syntax error: Unterminated quoted string
    

    The file command returns:

    xampp-linux-x64-5.6.12-0-installer.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped

    I can't find what the problem is... This is quite a basic command, isn't it?

    Thanks for help!

    • terdon
      terdon over 8 years
      That makes no sense. What you describe should have worked. What's the output of file xampp-linux-x64-5.6.12-0-installer.run? Are you sure you are running the right file?
    • Sergiy Kolodyazhnyy
      Sergiy Kolodyazhnyy over 8 years
      Were you copy-pasting those commands somewhere from a tutorial ?
    • wiltomap
      wiltomap over 8 years
      What do you call 'the output of the file'? I did not copy-paste commands.
    • Sergiy Kolodyazhnyy
      Sergiy Kolodyazhnyy over 8 years
      @wiltomap there is a terminal command called file. Just type in terminal file xampp-linux-x64-5.6.12-0-installer.run Make sure you're in the same directory as the file
    • wiltomap
      wiltomap over 8 years
      Just edited my post including file command result.
    • wiltomap
      wiltomap over 8 years
      uname -a command returns: Linux thomas-MS-7918 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:44:48 UTC 2015 i686 i686 i686 GNU/Linux
    • A.B.
      A.B. over 8 years
      indeed, 32-bit. i686 isn't 64-bit =)
  • Sergiy Kolodyazhnyy
    Sergiy Kolodyazhnyy over 8 years
    Bingo, OP's system says i686
  • wiltomap
    wiltomap over 8 years
    OK thanks a lot! I'll try the 32-bit version.