php 如何在 Mac 操作系统上永久删除 Xampp?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25286958/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How Can I Delete Xampp Permanently on Mac Os?
提问by ozer
I used Xampp and deleted it. Then, I tried to use Mamp. There is an error that I don't understand. Mamp is working perfect as webserver. But if I want to use phpmyadmin, it doesn't work.
我使用了 Xampp 并将其删除。然后,我尝试使用 Mamp。有一个我不明白的错误。Mamp 作为网络服务器工作得很好。但是如果我想使用phpmyadmin,它不起作用。
For example, I insert something to database. It isn't showing in phpmyadmin. It is saving to old Xampp database although I deleted Xampp. How does it happen?
例如,我向数据库插入了一些东西。它没有显示在 phpmyadmin 中。尽管我删除了 Xampp,但它正在保存到旧的 Xampp 数据库。它是如何发生的?
How Can I delete Xampp permanently(with mysql) on Mac OS?
如何在 Mac OS 上永久删除 Xampp(使用 mysql)?
回答by Timon Peng
XAMPP 5.x:
XAMPP 5.x:
You can find uninstall.app
in /Applications/XAMPP
.
您可以uninstall.app
在/Applications/XAMPP
.
After running this program, then you can use this command to delete all XAMPP cache files: sudo rm -rf /Applications/XAMPP
运行此程序后,您可以使用此命令删除所有 XAMPP 缓存文件: sudo rm -rf /Applications/XAMPP
XAMPP 7.x:
XAMPP 7.x:
Open Mac OS Finderand go to
/Applications
folder. You should find an XAMPP icon there (eg. XAMPP.app), right-click it and choose 'Move to Trash'.In addition to this, you might want to delete the ~/.bitnami folder within your home directory.
打开 Mac OS Finder并转到
/Applications
文件夹。您应该在那里找到一个 XAMPP 图标(例如 XAMPP.app),右键单击它并选择“移至垃圾箱”。除此之外,您可能希望删除主目录中的 ~/.bitnami 文件夹。
回答by affhendrawan
the newer version of XAMPP include uninstaller apps, you can find it inside XAMPP folder in Application directory. But they leave empty XAMPP folder.
较新版本的 XAMPP 包括卸载应用程序,您可以在 Application 目录的 XAMPP 文件夹中找到它。但他们留下空的 XAMPP 文件夹。
回答by AlexanderPop
To uninstall XAMPP-VM, follow these steps:
Delete the XAMPP-VM icon from the Applications folder.
Remove all XAMPP-VM data by deleting the ~/.bitnami folder within your home directory on the OS X host.
回答by Edoardo Canti
- Open Spotlight and search for XAMPP,
- 打开 Spotlight 并搜索 XAMPP,
To open Spotlight, click the magnifying glass icon in the upper-right corner of the menu bar, or press Command-Space from any app.
要打开 Spotlight,请单击菜单栏右上角的放大镜图标,或从任何应用程序中按 Command-Space。
Should be displayed some folders. Check for XAMPP (in upper cases) folder and open it.
XAMPP folder should contain an uninstall programm, tap on it and follow the instructions.
For a complete remove Go to Macintosh HD and delete the folder /Aplications/XAMPP (Be careful with you application files).
应该显示一些文件夹。检查 XAMPP(大写)文件夹并打开它。
XAMPP 文件夹应该包含一个卸载程序,点击它并按照说明进行操作。
要完全删除 转到 Macintosh HD 并删除文件夹 /Aplications/XAMPP(小心处理应用程序文件)。
I did it right now and it works.
我现在就这样做了,并且有效。
回答by Devatoria
I think that just put the application (in your Applications folder) is enough. But you can try to search some XAMPP garbages.
我认为只要把应用程序(在你的应用程序文件夹中)就足够了。但是您可以尝试搜索一些 XAMPP 垃圾。
Open your terminal, sudo and search for something containing XAMPP:
打开终端,sudo 并搜索包含 XAMPP 的内容:
sudo -s
[ Type your password ]
find / | grep -i xampp
It can take a time if you do not have a fast hdd. This will display all files/folder containing XAMPP in their name.
如果您没有快速硬盘,可能需要一些时间。这将显示名称中包含 XAMPP 的所有文件/文件夹。
回答by Alireza Bahmani
run this command on the terminal: rm -fr ~/.bitnami/
在终端上运行这个命令:rm -fr ~/.bitnami/
回答by Ahmed Gaber
it's easy pro, Open the application folder. Click on the XAMPP icon and hold it. Drag the icon to Trash. Clean Trash (to do it just hold Ctrl and click on “Empty Trash”).
这很容易亲,打开应用程序文件夹。单击 XAMPP 图标并按住它。将图标拖到废纸篓。清理垃圾箱(只需按住 Ctrl 键并单击“清空垃圾箱”即可)。