我想在Hostgator共享主機上使用Drush。我只花了1小時嘗試各種過時的教程(Drush現在需要作曲家)。有人有證明,測試和工作解決方案如何安裝Drush嗎?我使用PHP 5.4。如何在hostgator服務器上安裝drush
我最後實現一步是drush ST錯誤:
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
Content-type: text/html
當我運行PHP 診斷composer.phar我看到:
Content-type: text/html
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity: OK
Checking disk free space: OK
Checking composer version: OK
我下載Drush 6.4,它解決了我的痛苦。謝謝穆罕默德雷達。 – 2014-11-03 10:55:15