我正在尝试在 osx lion 上安装以下项目连接。
cd /tmp
git clone git://github.com/dsyph3r/connect
cd connect
git submodule update --init
php bin/vendors install
当我运行以下命令时php bin/vendors install
,我收到以下消息:
PHP Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
PHP Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
我错过了什么?
附言
more app/config/parameters.ini
[parameters]
database_driver="pdo_mysql"
database_host="localhost"
database_port=""
database_name="connect"
database_user=""
database_password=""
mailer_transport="smtp"
mailer_host="localhost"
mailer_user=""
mailer_password=""
locale="en"
secret="xxxx"
more deps | grep FOSRest
[FOSRest]
git=git://github.com/FriendsOfSymfony/FOSRest.git
[FOSRestBundle]
git=git://github.com/FriendsOfSymfony/FOSRestBundle.git