XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

Posted by

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Error:- XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

One important thing i want to tell you that when you get this error XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system. Then don’t think that you have any xampp issue or you xampp is 32 bit application. Its a very important thing to remember that you need to check your php error log and there you will get the actual error.

Below is the command to check the actual php error:-

Step 1 :- Go to your /opt/lampp directory
Step 2 :- find the directory logs.
Step 3 :- run the command to enter in /opt/lampp/logs
Step 4 :- "more php_error_log" run this command to fing the log of any php error.

So I got this error in my case.

PHP Fatal error:  Directive 'track_errors' is no longer available in PHP in Unknown on line 0

Solution for this:-

This warning was something I recently encountered when using php –version. My php.ini was found to be many years old, although the other php* files were just a few weeks old, when I searched in /usr/local/etc. The error notice was resolved by me by

Step 1:- Run below command.

sudo mv php.ini php.ini.old

Step 2 :- Follow the steps:

sudo cp php.ini-development php.ini

Step 3 :- Now go to your php.ini file which is located in the directory /opt/lampp/etc.

Step 4 :- Open php.ini file and see the code.

If 
track_errors = On
Then change On to off like this:
track_errors=Off

Issue Solved.

Second Solution:-

Just Follow this Process to solve your issue.

$ 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.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x