XAMPP 不适用于装有 macOS Big Sur 的 Mac [英] XAMPP is not working on Mac with macOS Big Sur

查看:30
本文介绍了XAMPP 不适用于装有 macOS Big Sur 的 Mac的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我将我的 macOS 升级到最新的 Big Sur 11.0.1.升级OS后,发现本地服务器XAMPP不工作!我所有的工作项目都在 htdocs 的 XAMPP 文件夹中.由于没有可用的 XAMPP,我无法挂载 htdocs 来访问我的工作项目文件夹.

Today, I upgraded my macOS to the latest Big Sur 11.0.1. After upgrading the OS, I found that the local server XAMPP is not working! I have all my working projects inside the XAMPP folder of htdocs. As there is not working XAMPP, I can't mount htdocs to access my working project folder.

请建议我解决这个问题?提前致谢!

Please suggest me to solve this problem? Thank you in advance!

  • macOS 显示错误代码 137
  • 可以使用说明恢复文件此处(mysql 数据库位于 htdocts/ 文件夹旁边的文件夹 var/mysql/ 中)
  • 似乎需要修复才能运行 XAMPP,但与此同时,您可以使用自制软件安装 XAMPP 并复制恢复的文件
  • macOS shows the error code 137
  • The files can be recovered by using the explanation here (The mysql databases are in the folder var/mysql/ next to the htdocts/ folder)
  • It seems like a fix is required to run XAMPP, but in the meantime, you can install XAMPP using homebrew and copy the recovered files

编辑 2:

可以找到更简单的解决方法这里.寻找 Dennisv 的答案.

An even easier fix can be found here. Look for the answer by Dennisv.

推荐答案

我遇到了同样的问题.

我通过命令使用 Homebrew 解决了重新安装 XAMPP 的问题

I solved reinstalling XAMPP using Homebrew with command

brew cask install xampp

不幸的是,这样你会丢失所有文件,我还没有找到让已经安装的版本工作的方法.

Unfortunately this way you would lose all your files, I haven't found a way to make the already installed version work.

这篇关于XAMPP 不适用于装有 macOS Big Sur 的 Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆