0

我尝试sfFormExtraPlugin从 symfony 安装插件,但出现以下错误:

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。我能做些什么来纠正这种情况?谢谢你

4

1 回答 1

2

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

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

于 2011-09-12T09:34:05.870 回答