Doctrine安装中的错误

时间:2013-03-12 06:55:28

标签: php doctrine-orm pear

我已按照以下步骤在linux终端上安装Doctrine,请帮助我,我哪里出错了? ..........

 1. sudo apt-get install php-pear////
 2. pear channel-discover pear.doctrine-project.org////
3.pear install doctrine/DoctrineORM-2.3.2(Unknown remote channel: pear.symfony.com
Unknown remote channel: pear.symfony.com
Unknown remote channel: pear.symfony.com
doctrine/DoctrineORM requires package "channel://pear.symfony.com/Console" (version >= 2.0.0)
doctrine/DoctrineORM requires package "channel://pear.symfony.com/Yaml" (version >= 2.0.0)
doctrine/DoctrineDBAL requires package "channel://pear.symfony.com/Console" (version >= 2.0.0)
downloading DoctrineCommon-2.3.0.tgz ...
Starting to download DoctrineCommon-2.3.0.tgz (59,473 bytes)
..............done: 59,473 bytes
install ok: channel://pear.doctrine-project.org/DoctrineCommon-2.3.0)////************
4./tmp# cd DoctrineORM-2.3.2(bash: cd: DoctrineORM-2.3.2: No such file or directory)////

1 个答案:

答案 0 :(得分:0)

你也需要发现symfony频道:

$ pear channel-discover pear.symfony.com