Reputation: 63
Today I updated my mac to macOS Big Sur and I can't open XAMPP. When I click on app it doesn't give any response.
Do you know how solve this problem?
Upvotes: 5
Views: 48068
Reputation: 515
You can do a clean installation, but you will lose all your old files and databases. I suggest making a backup of this data.
Uninstall old versions of xampp.
brew install --cask xampp
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Upvotes: 8
Reputation: 540
if you are getting error message saying:
Cannot calculate MAC Address: Using fd 10 for I/O notifications hv_vm_create HV_ERROR (unspecified error)
you need to download new hyperkit from bitnami and replace the current one
cd /tmp
curl -LJO "https://downloads.bitnami.com/files/hyperkit/hyperkit-testing-`20210430"`
mv /tmp/hyperkit-testing-20210430 ~/.bitnami/stackman/helpers/hyperkit
chmod +x ~/.bitnami/stackman/helpers/hyperkit
read tutorial here: https://floyk.com/en/post/xampp-doesnt-work-after-update-to-macos-big-sur
Upvotes: 1
Reputation: 31
I had Xampp 7.4.9 and update Mac OS to Big Sur. Xampp didn't want to launch after that. I lost access to all my projects inside of /htdocs folder hidden somewhere in path structure of my virtual machine. Kindly note I used version 7.4.9-VM (not 7.4.9-Installer) that is why all my files blocked inside of /Users/'your_user_name'/.bitnami/stackman/machines/xampp/vm/machine.qcow2 Actually all files are important here: /Users/'your_user_name'/.bitnami/stackman/machines/xampp not only machine.qcow2
My solution is kind a mix of before mentioned solutions because they didn’t help in full.
First of all make a backup - copy old structure (with blocked files) to some directory - all this structure: /Users/'your_user_name'/.bitnami/stackman/machines/xampp (To see hidden files in MacOS use [Command]+[Shift]+[.]) You also can just rename /Users/'your_user_name'/.bitnami/ to something like /Users/'your_user_name'/.my_blocked_files_bitnami/
As programmers here advised to install 7.4.12-VM I installed this version. Very important to install "Virtual Machine" version (as you can see there are 2 installers for each version of Xampp)
Right after I launched 7.4.12-VM the new directory was created here: /Users/'your_user_name'/.bitnami/ and Xampp will work properly but with no your old projects.
Do not do this step: As programmers here advised to change only one file /Users/'your_user_name'/.bitnami/stackman/machines/xampp/vm/machine.qcow2 for me it was not enough - Xampp failed with an error: ERROR: Error starting "XAMPP" stack: cannot start stack: ssh not accessible
My solution was put whole structure from folder xampp /Users/'your_user_name'/.my_blocked_files_bitnami/stackman/machines/xampp to here: /Users/'your_user_name'/.bitnami/stackman/machines/xampp
You may before rename your current folder /Users/'your_user_name'/.bitnami/stackman/machines/xampp to something like /Users/'your_user_name'/.bitnami/stackman/machines/new_xampp_without_my_projects
Thank you.
Upvotes: 3
Reputation: 457
you can type this code in terminal
before this code you should close xampp
rm -rf ~/.bitnami/stackman
Upvotes: 1
Reputation: 38
You can solve this problem by updating xampp ver 7.2.34 .
https://www.apachefriends.org/download.html
Upvotes: 2
Reputation: 11
I tried reinstalling XAMPP on MACos Big Sur, and it worked. However, my files are not recovered.
Upvotes: 1
Reputation: 21
I had the same problem. This is how I solved it: First, be sure that you back up your files in XAMPP VM. Your files are in
/Users/'your_user_name'/.bitnami/stackman/machines/xampp/vm/machine.qcow2
Then you can reinstall XAMPP again. I have installed 7.4.12 and it worked fine. If you see stack error message, this is what you have to do:
Close XAMPP
Open a terminal and remove the stack folder with the following code:
rm -rf ~/.bitnami/stackman
Open XAMPP and check if a new stackman folder is created.
/Users/'your_user_name'/.bitnami/stackman/
/Users/'your_user_name'/.bitnami/stackman/machines/xampp/vm/machine.qcow2
Voila! Here are your files...
Upvotes: 2
Reputation: 77
After Big Sur installation if XAMPP is not opening, get newest version of XAMPP (7.4.12) from their web site.
If you end up with error "Error starting “XAMPP” stack: cannot calculate MAC address: signal killed". After installing the latest version, do following:
Go to terminal -> cd ~/.bitnami/stackman/helpers Mv hyperkit hyperkit_backup
After that XAMPP opens and tells its the first time opening, but at least I found all the files etc as before Big Sur upgrade.
Upvotes: 6
Reputation: 21
Same thing happened to me but the version 7.4.12 seems to be working. I download it from the link I'll but below. I've been reading and the problem seems to be that Big Sur changes some paths that are set by default and so the apps won't launch. Same thing happened to Apache NetBeans.
XAMPP Download Link:
(https://sourceforge.net/projects/xampp/files/XAMPP%20Mac%20OS%20X/7.4.12/)
Upvotes: 2