I was trying to install the 64bit linux version of XAMPP via its ".run" installer on a machine running Windows 10 PRO 64bit, installing it on the WLS (Windows Linux Subsystem).
While I do understand that WLS is still in beta phase, I expected this to work, especially since that, if I install it on a CentOS 7 virtual machine, TAR the installation dir and move it on WLS, it works perfectly.
Trying to run the installer gives this error:
root@TMA:/opt# /root/temp/xampp-linux-x64-7.0.26-0-installer.run
-bash: /root/temp/xampp-linux-x64-7.0.26-0-installer.run: cannot execute binary file: exec format error
Testing the installer with file command gives:
root@TMA:/opt# file /root/temp/xampp-linux-x64-7.0.26-0-installer.run
/root/temp/xampp-linux-x64-7.0.26-0-installer.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped
While the "kernel" identifies as:
root@TMA:/opt# uname -a
Linux TMA 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
root@TMA:/opt# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
So it seems that both executable and kernel are 64bit... What am I missing?