I have even tried to set up the new FTP option in Mage 1.5.0.1., but cannot seem to get that to work either. (Anyone know what the “Installation Path:” field needs to be set to?)
I’m exhuming this thread because as of today (magento community ver. 1.7.0.2) the warning in magento connect still persists.
In order to make magento connect work. there is no need to set 777 permissions on EVERY directory in magento (and then revert them back right after for security reasons after installing the extension).
You just set 777 permissions as usual on these folders (including their subdirectories):
/var
/media
/downloader
Then, as already stated by someone in another thread, to let magento connect work you also have to set 777 permissions to the root directory of magento (i.e. the folder where magento has been uploaded: could be “/httpdocs/” or “/public_html/” or similar if you installed it on the webserver’s root - or could be “/shop” or “/magento” or “/whatever” if you chose to install it inside a subfolder).
In this case there’s no need to apply 777 permissions to subdirectories. Just grant 777 to magento’s root folder.
Once you’re done installing extensions, just revert permissions of magento’s root folder to the old value (750, in my case).
I just installed magento community edition ver. 1.7.0.2 and this method solved my problem with magento connect.
You can do it via SSH as you can do it via FTP also.
If you have your installation as me: home/user/www/website.com/ (magento install here)
While in production:
Set to 777 folder website.com (folder only)
Go to /downloader Set 777 to folder and enlosed items
Go to /media Set 777 to folder and enclosed items
Go to /var set 777 to folder and enclosed items
That\’s all you need to set to 777. The error at this point disappears.
If you having the error during installation:
Your Magento folder does not have sufficient write permissions, which downloader requires. (recheck downloader folder permission or restart server)
Magento Connect 2.0 - Connection Error try again later [when installing with the Extension Key]
Solution that fixed this error is to intall PHP-XML (that was missing)
Open SSH:
Install php-xml rpm package:
# yum --enablerepo=remi install php-xml
If you run another repo, find your PHP-XML version.
My extension is now installed. Enjoy.
PS: Don\’t forget to run magento-cleanup.php to set back securely your folder & files permissions