"Syntax error: Unterminated quoted string" when running xampp installer file
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!
Related videos on Youtube
wiltomap
Updated on September 18, 2022Comments
-
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 over 8 yearsThat 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 over 8 yearsWere you copy-pasting those commands somewhere from a tutorial ?
-
wiltomap over 8 yearsWhat do you call 'the output of the file'? I did not copy-paste commands.
-
Sergiy Kolodyazhnyy over 8 years@wiltomap there is a terminal command called
file
. Just type in terminalfile xampp-linux-x64-5.6.12-0-installer.run
Make sure you're in the same directory as the file -
wiltomap over 8 yearsJust edited my post including file command result.
-
wiltomap over 8 yearsuname -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. over 8 yearsindeed, 32-bit. i686 isn't 64-bit =)
-
-
Sergiy Kolodyazhnyy over 8 yearsBingo, OP's system says i686
-
wiltomap over 8 yearsOK thanks a lot! I'll try the 32-bit version.