Are my Magento permissions correct?
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开发者_Go百科 this problem before?
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.
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.
精彩评论