0

我已按照以下步骤在 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)////
4

1 回答 1

0

你还需要发现 symfony 频道:

$ pear channel-discover pear.symfony.com
于 2013-03-12T07:25:15.447 回答