我的 Magento 权限正确吗?

发布于 2024-09-30 05:21:43 字数 322 浏览 1 评论 0原文

我在 OS X Snow Leopard 10.6.4 上使用 MAMP 1.8.4 全新安装了 Magento 1.4.1.1。

我无法成功加载 magento/downloader(Magento Connect Manager)。我的浏览器显示空白页面。 Safari 的“活动”窗口告诉我这是一个内部服务器错误,这告诉我我的权限可能不正确。我已将整个magento目录的所有文件权限更改为777,以测试目录/文件是否有足够的权限。我仍然无法加载 Magento 连接 (magento/downloader/)。

将所有文件设置为 777 是否足以测试正确的权限?以前有人遇到过这个问题吗?

I have a fresh install of Magento 1.4.1.1 using MAMP 1.8.4 on OS X Snow Leopard 10.6.4.

I'm unable to load magento/downloader (the Magento Connect Manager) successfully. My browser displays a blank white page. Safari's Activity window tells me it's an Internal Server Error, which tells me my permissions may be incorrect. I have changed all file permissions for the entire magento directory to 777 to test whether the directories/files had sufficient privileges. I'm still unable to load Magento connect (magento/downloader/).

Would setting all files to 777 be a sufficient way to test correct permissions? Anyone encountered this problem before?

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

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

发布评论

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

评论(2

浮光之海 2024-10-07 05:21:43

您是否检查过您的 MAMP 服务器是否满足 要求,您是否开启了 PHP error_reporting 并扫描日志中的错误?是否开启了 Magento 的日志记录和开发者模式?尝试发布这些结果,以便我们可以帮助您。

Have you checked that your MAMP server meets the requirements, have you turned on PHP error_reporting and scanned the logs for errors? Turned on Magento's logging and developer mode? Try posting the results of those so we can help you.

薯片软お妹 2024-10-07 05:21:43

问题是我的 php.ini 文件中的 include_path 是错误的。路径应该是:

.:/Applications/MAMP/bin/php5/lib/php

我以前安装过 Zend Framework,但忘记了。我相信,ZF 设置过程的一部分是更改或修改您的 include_path。如果我删除并重新安装 MAMP,问题也会得到解决。

谢谢乔纳森的意见。

The problem was that the include_path in my php.ini file was wrong. The path should be:

.:/Applications/MAMP/bin/php5/lib/php

I had previously installed the Zend Framework and forgot about it. Part of the setup process of ZF, I believe, is to change or modify your include_path. If I would have erased and re-installed MAMP, it would have solved the problem as well.

Thanks, Jonathan, for your input.

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