Mac OS X 10.6.2 (Snow Leopard) 上的 XAMPP 或 MAMP

发布于 2024-08-26 09:02:08 字数 1432 浏览 9 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

兔小萌 2024-09-02 09:02:08

XAMPP 和 MAMP 非常相似。都不要碰你的默认 OS X Apache/PHP!您可以先尝试一下它们,然后通过删除它们的文件夹来删除它们。最后他们做的完全一样。

XAMPP 更新得更频繁,并且通常是最新的。 XAMPP 还内置了更多扩展。

另一方面,MAMP 看起来更像 mac,并且有一个仪表板小部件。但对于一个开发系统来说这并不算什么。与 XAMPP 不同,MAMP 无需管理员权限即可工作。

我最终选择了 XAMPP,因为我需要 dba 扩展。

XAMPP and MAMP are both quite similar. Neither touch your default OS X Apache/PHP! You can just try them both out and remove them afterwards by just deleting their folders. In the end they do exactly the same.

XAMPP gets updated more regularly and is generally more up to date. Also XAMPP has more extensions built-in.

On the other hand MAMP looks a little more mac-like and has a Dashboard Widget. But for a development system that doesn't count much. Unlike XAMPP, MAMP works without administrator privileges.

I went with XAMPP in the end because I needed the dba extension.

零時差 2024-09-02 09:02:08

在我的 Mac 上使用两者来本地开发一些 WordPress 网站后,我选择使用 MAMP。

我在使用 XAMPP 时遇到的主要问题(实际上是唯一的问题)是它在 OS X 上存在文件和文件夹权限问题。
事实证明,使用 Wordpress 在线界面安装新主题这样简单的事情几乎是不可能的 - 最终需要更改 XAMPP 目录中某些 Apache 配置文件的权限。 - 即使这样,它也没有完全起作用。

我不会详细说明 - 但足以说明我最终想到“为什么要麻烦呢?”然后就回到了 MAMP。

请注意,这只是我的经验 - 但值得注意的是,这种情况非常常见,以至于有几个网站/博客文章的唯一主题就是如何解决此问题。只需谷歌“XAMPP Wordpress 主题安装问题”或类似的内容,您就会明白我的意思。

after using both to develop some Wordpress sites locally on my mac I chose to go with MAMP.

The main problem (only problem actually) I had with XAMPP was that it had issues on OS X with file and folder permissions.
doing something as simple as installing new Themes using the Wordpress online interface proved nearly impossible - in the end it required changing permissions on some of the Apache configuration files in the XAMPP dir. - even then it didn't entirely work.

I won't go into details - but suffice it to say I ended up thinking "why bother?" and just went back to MAMP.

that's just my experience mind you - but it is worth noting that it's so common that there are several sites/blog posts whose sole topic is how to fix this issue. just google "XAMPP Wordpress theme install problem" or something like that and you'll see what I mean.

我不在是我 2024-09-02 09:02:08

我是一名新开发人员,也运行 10.6.3。我发现 MAMP Pro 是比其他任何东西更好的选择。 Mac 附带的个人 Web 服务器确实很方便,但通过 macports 维护模块却很痛苦。

与 XAMP 相比,MAMP Pro 工作得非常好,因为它可以让您根据需要调整模块并轻松编辑 self/postfix/httpd 配置。我喜欢它的两个最大原因是简单的 dyndns 集成

至于端口号,您只需将其编辑为 80 即可,而不必每次浏览本地开发站点时都手动输入。

I am a new developer and run 10.6.3 as well. I found MAMP Pro to be a better option than anything else. The personal web server that comes with Mac is really handy but maintaining the modules via macports was a pain.

Versus XAMP, MAMP Pro works really well cause it lets you tweak the modules as you wish and edit the myself/postfix/httpd configs easily. The two biggest reasons I love it is cause of the easy dyndns integration.

As for the port number, you can just edit it to 80 and not have to enter it manually each time when you browse to your local dev site.

缘字诀 2024-09-02 09:02:08

XAMPP 在 OS X 上的文件权限方面存在一些可怕的问题,这完全是一场噩梦。我强烈建议,如果您要在本地主机上使用 Wordpress,那么您要么在安装 XAMPP 之前了解您的东西,要么选择其他不会给您带来这些问题的东西;大概是 MAMP,这就是我要安装的。

XAMPP has some awful issues on OS X with file permissions and it's been a complete nightmare. I strongly suggest that if you're going to be using Wordpress on the localhost, that you either know your stuff before installing XAMPP, or just go with something else that won't give you those problems; presumably MAMP, which is what I'm about to install.

枫以 2024-09-02 09:02:08

就我个人而言,我认为 MAMP 更容易使用。特别是如果您想定义要在其中运行本地网站的文件夹。默认情况下,在 XAMPP 中,您的本地网站位于 APPLICATIONS 文件夹中,这不是一个好的解决方案。而且XAMPP中的MySQL默认没有密码。在 MAMP 中,更改您的网络本地网站所需的目录非常容易。 (只需转到首选项)。我尝试在 XAMMP 中执行此操作,但 apache Web 服务器的 httpd.conf 存在访问问题。

Personnally, i think that MAMP is easier to use. Especially if you want to define the folder where you want to run your local web sites. By default, in XAMPP your local web sites are in the APPLICATIONS folder and this is not a good solution. Moreless there is no password by default for MySQL in XAMPP. In MAMP it's really easy to change the directory that you want for your weblocal web sites. (just go to preferences). I tried to do that in XAMMP but there was access problems to httpd.conf of the apache web server.

忆梦 2024-09-02 09:02:08

如果您进行 WordPress 开发,也不会。 ServerPress 在极其简单的用户界面中拥有最多的选项。 http://www.serverpress.com/products/desktopserver/#compare

Neither if you do WordPress development. ServerPress has the most options in a dead simple user interface. http://www.serverpress.com/products/desktopserver/#compare

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文