安装magento错误的加速器


Installing speedbooster for magento errors

我想在测试服务器上安装http://guides.tinybrick.com/magento/speedbooster .

安装pear包时

[/home/USERNAME/public_html]# pear install /home/USERNAME/public_html/Speed_Booster-2.4.1.tgz

得到以下错误:

File "LICENSE.txt" in directory "<dir name="var">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Observer.php" in directory "<dir name="Page">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Observer.php" in directory "<dir name="Block">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Page.php" in directory "<dir name="Model">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Block.php" in directory "<dir name="Model">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "config.xml" in directory "<dir name="etc">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Page.php" in directory "<dir name="Block">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Block.php" in directory "<dir name="Block">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "LICENSE.txt" in directory "<dir name="var">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Observer.php" in directory "<dir name="Product">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "Observer.php" in directory "<dir name="Category">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "config.xml" in directory "<dir name="etc">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "View.php" in directory "<dir name="Product">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "View.php" in directory "<dir name="Layer">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "View.php" in directory "<dir name="Category">" has invalid role "magecommunity", should be one of cfg, data, doc, php, script, test, www
File "TinyBrick_FastCms.xml" in directory "<dir name="modules">" has invalid role "mageetc", should be one of cfg, data, doc, php, script, test, www
File "TinyBrick_FastCatalog.xml" in directory "<dir name="modules">" has invalid role "mageetc", should be one of cfg, data, doc, php, script, test, www
Parsing of package.xml from file "/root/tmp/pear/cache/package.xml" failed
install failed
谁能告诉我出了什么问题?谢谢你!编辑:

我真笨,我是从根目录安装的。

./pear install /home/USERNAME/public_html/Speed_Booster-2.4.1.tgz

工作…

似乎你还没有阅读官方教程的说明:

注意:为了使./pear命令正常运行,您的Magento实例必须按照其中一个步骤安装