安装symfony插件时出错

时间:2011-09-12 09:10:43

标签: symfony1 symfony-plugins

我尝试从symfony安装sfFormExtraPlugin插件,我收到以下错误:

C:\wamp\www\sgps>symfony plugin:install sfFormExtraPlugin
>> plugin    installing plugin "sfFormExtraPlugin"

Warning: require_once(PEAR.php): failed to open stream: No such file or director
y in C:\wamp\bin\php\php5.2.5\PEAR\symfony\plugin\sfPearEnvironment.class.php on
 line 15

Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.
;C:\php5\pear') in C:\wamp\bin\php\php5.2.5\PEAR\symfony\plugin\sfPearEnvironmen
t.class.php on line 15

我查了一下,sfPearEnvironment.class.php位于折叠Plugin。我该怎么做才能纠正这种情况?谢谢

1 个答案:

答案 0 :(得分:2)

您应该在服务器上安装PEAR。

在PEAR网站上查看此页面,了解有关在服务器上安装和配置PEAR的更多信息:http://pear.php.net/manual/en/installation.getting.php