I tried to upgrade WordPress plugins for my blogs hosted at ByetHost but couldn’t do so. SomeUsefulInfo.com is hosted on a paid hosting server of Radix Hosting. However, I host some of my other blogs at ByetHost. When I tried to upgrade the WP plugins, it asked for my FTP username and Password. I put in the correct username and password, and then it said: “Unable to locate WordPress Plugin directory.” So I started googling and found out this solution.
This solution seems to work only with ByetHost. Others who had access to this solution complained that they were not able to upgrade WP plugins even after applying this hack to their blogs hosted at other hosts. Having said that, fixing this problem in ByetHost is fairly easy. This hack is provided by mcarretero.
You need to add the following PHP code to the wp-config.php file to get it working:
1 2 3 4 | if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); } |
Other than giving a few hiccups, ByetHost is a great host specially if you are looking for a free host. I have a free account with ByetHost. They provide 5500 MB disk space and 200 GB monthly transfer for free and when the limit exceeds, you need to upgrade to a paid account. They also seem to have limits on the CPU usage as well. They haven’t written about it anywhere on their site, but I just want to let you know that they do have CPU usage limits as well for the free accounts.


thanks alot
it was helpfull
Reply to this comment
Thanks.. it works like a charm…
Reply to this comment
Wow thanks very much!
Now I can update and get plugins directly!
No more FTP!!!
Reply to this comment
Thanks !
Nice info.
Reply to this comment