I am having some issues trying to install plugins from symfony into my project:
OS X 10.6 Snow Leopard
MAMP 1.8.2 (PHP 5.2.10)
Symfony 1.2 (standalone symfony framework + project as recommended by the Symfony Getting Started tutorial. e.g. I save the symfony framework in a lib/vendor folder inside my project).
I run the following command to install the sfGuard plugin from inside my symfony project
$ ./symfony plugin:install sfGuardPlugin
>> plugin installing plugin "sfGuardPlugin"
>> sfPearFrontendPlugin Attempting to discover channel "pear.symfony-project.com"...
>> sfPearFrontendPlugin downloading channel.xml ...
>> sfPearFrontendPlugin Starting to download channel.xml (663 bytes)
>> sfPearFrontendPlugin .
>> sfPearFrontendPlugin ...done: 663 bytes
>> sfPearFrontendPlugin Auto-discovered channel "pear.symfony-project.com", alias
>> sfPearFrontendPlugin "symfony", adding to registry
>> sfPearFrontendPlugin Attempting to discover channel
>> sfPearFrontendPlugin "plugins.symfony-project.org"...
>> sfPearFrontendPlugin downloading channel.xml ...
>> sfPearFrontendPlugin Starting to download channel.xml (639 bytes)
>> sfPearFrontendPlugin ...done: 639 bytes
>> sfPearFrontendPlugin Auto-discovered channel "plugins.symfony-project.org", alias
>> sfPearFrontendPlugin "symfony-plugins", adding to registry
But when I check the plugins folder there is nothing in it. I run the command again
$ ./symfony plugin:install sfGuardPlugin
>> plugin installing plugin "sfGuardPlugin"
When I run the plugin:list command it doesn't indicate that the plugins was installed. This is all I get
$ ./symfony plugin:list
Installed plugins:
And still nothing. Am I missing something here? Is my pear install not configured properly? Is this a known issue? Does symfony place the plugin code somewhere else? I am used to the symfony 1.0 way of doing things.
Any troubleshooting tips welcome.
You can definitely end up with multiple versions of Symphony installed if you aren't careful. Try checking your php include path and your pear setup paths.
I don't think that the author still needs this answer, but maybe someone else found this answer useful.
It seems that the php-pear module isn't installed in your system.
I think it's because the sfGuard plugin doesn't work with symfony 1.2. Check the plugin's page here. It says it only supports symfony 1.3 and 1.4.