lfeven 发表于 2017-5-12 22:43:05

使用composer安装drush时出错

执行:composer global require drush/drush:8.*提示:安装成功

编辑 ~/.bash_profile 文件
加入:export PATH="/root/.composer/vendor/bin:$PATH"

然后输入:drush报错代码如下:
# drush version
/root/.composer/vendor/bin/drush: line 17: /root/.composer/vendor/drush/drush/drush: Permission denied

licess 发表于 2017-5-13 10:49:56

chmod +x /root/.composer/vendor/drush/drush/drush
页: [1]
查看完整版本: 使用composer安装drush时出错