我的 Magento 权限正确吗?
我在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否检查过您的 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.
问题是我的 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.