您在這裡

drush

[已解決]請問Drush安裝和使用問題

fuchen's 的頭像
fuchen 在 2013-05-09 (四) 11:54 發表

各位drupal前輩你好,我最近想嘗試用Drush做cron的執行,
因為從來沒安裝過Drush,所以在安裝後發生了無法執行drush cron的問題。
想請教各位前輩,問題發生在哪?

一開始我將drush解壓放到/etc/下
然後執行下列指令

> ln -s /etc/drush/drush /usr/bin/drush
> export PATH="$PATH:/etc/drush:/usr/bin/drush"

剩下在說明檔所說的安裝選項都沒有做
6. Optional. See examples/example.bashrc for instructions on how to add some...

關於使用drush升級遇到的問題,help!

請教各位前輩關於使用drush升級的問題:

首先說明安裝drush過程

1.將drush-7.x-5.4.zip 下載到/sites/all/modules下 並解壓縮 (我的drupal 是六版的,但沒有六版的drush故抓這個來用)
2.#ln -s /path/to/drush/drush /usr/local/bin/drush

之後執行drush dl 模組名稱,來下載模組ㄧ切正常
但是執行"drush up 模組名稱"來升級模組或"drush dis 模組名稱" 或"drush en 模組名稱"來啟用或停用模組則出現以下錯誤訊息

<啟用或停用模組出現>
Command pm-disable needs a higher bootstrap level to run - you will [error]

訂閱 RSS - drush