Error
"XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system"
Solution
Step 1 – CHECK php version
Step 2 – Check php.ini syntax issues
./php --version
./php: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicui18n.so.66)
./php: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.66)
Solution
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install libstdc++6
Create a Symbolic Link:
If XAMPP is using an outdated version of libstdc++.so.6, you can try creating a symbolic link to the system's version of the library.
First, locate the system's version of the library:
$ find /usr/lib /lib -name 'libstdc++.so.6'
Then, backup the old version and create a symbolic link. Replace /path/to/system/libstdc++.so.6 with the path found in the previous step:
$ sudo mv /opt/lampp/lib/libstdc++.so.6 /opt/lampp/lib/libstdc++.so.6.backup
$ sudo ln -s /path/to/system/libstdc++.so.6 /opt/lampp/lib/libstdc++.so.6
Reinstall XAMPP:
If the above steps don't work, consider reinstalling XAMPP. Sometimes, a fresh installation can resolve library conflicts.