为magento错误安装speedbooster

时间:2011-10-11 13:42:30

标签: php magento

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

安装梨包时

[/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

有人可以告诉我出了什么问题吗? 谢谢!

编辑:

愚蠢的我,我正在从root安装软件包。

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

正在工作......

1 个答案:

答案 0 :(得分:0)

好像你没有看过official tutorial的说明:

  

注意:为了正常运行./pear命令,您的   必须按照其中一个步骤安装magento实例   在本页解释。